Reputation: 2321
This is behavior is kind of strange.
In IE8 when I use $('something').is(':checked') to check if a checkbox is checked after setting it using $('something').attr('checked', true). I get an error when I run the script a second time.
I created a jsfiddle and the same issue occurs there.
After the following page loads, click run again. I get Object doesn't support this property or method in IE8
Any ideas?
I am using jquery 1.6.2.
Upvotes: 2
Views: 454
Reputation: 9494
I think you've found a bug in jsfiddle. Seemed to work fine in a stand-alone web page.
Upvotes: 2