I' m using MVC and set an itemId attribute to checkboxes.
@Html.CheckBox("check", false, new { itemId = item.ID })
Now I want to get this attribute with using javascipt but I could not.
I got the checkboxes list with this code:
var checkboxes = document.getElementsByName('check');
Are there any solution for it?