Issue with jQuery setting checkboxes as checked in IE6 (not showing as checked?)
- by Jonathon Joyce
The Code:
var lstInstanceIds = getData.lstInstanceIds.split(',');
for(var i=0; i<lstInstanceIds.length; i++) {
var value = lstInstanceIds[i];
$('input[value=' + value + ']').attr('checked','checked');
}
So all i'm doing is looping a list and setting the attribute checked as checked where the values meet.
This works fine in Chrome, Firefox, IE7/8, Safari.
But not in IE6...