javascript - jQuery button to check all check boxes issue -


i have button checks checkboxes in div , un-checks.

however if manually check 1 checkbox, hit check button , uncheck all, checkbox manually checked not become unchecked!

any ideas?

http://jsfiddle.net/hm5bu/1/

thats because jquery changed in 1.6

using attr instead of prop breaking it.

try using prop instead

updated fiddle: http://jsfiddle.net/hm5bu/2/

see question: .prop() vs .attr() more prop , attr in jquery 1.6


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -