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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -