I have no idea why this wont work but I have tried the following:
$('#elemid').prop('checked', true);
$('#elemid').attr('checked', true);
$('#elemid').attr('checked', 'checked');
IE9 just absolutely refuses to actually check the box when the code is run. I know the code is being run due to console.log.
However no checked element.
This code works perfectly in FF and Chrome. Am I missing something here?
$(function() { ... });construction..prop()is included in jquery version 1.6, Make sure you have the right version., and this will be support by IE9 , hope you might have done a small mistake around. the browser prior to IE9 will have memory leaks in usingprop()hope you didn't forgot about it.