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?
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
Post a Comment