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

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -