using prop() instead of attr() to detect if checked #4

Merged
merged 1 commit into from Mar 8, 2013

Conversation

Projects
None yet
2 participants

Issue:
Can't check the box by clicking the label with jquery 1.9 (and maybe jquery 1.6+)

Correction:
Use jQuery.prop() instead of jQuery.attr() to detect if the box checked or not.

nicolas-t uses prop() instead of attr()
jQuery 1.6+
cc285fb

@tomekwojcik tomekwojcik added a commit that referenced this pull request Mar 8, 2013

@tomekwojcik tomekwojcik Merge pull request #4 from nicolas-t/master
using prop() instead of attr() to detect if checked
77bc034

@tomekwojcik tomekwojcik merged commit 77bc034 into tomekwojcik:master Mar 8, 2013

Owner

tomekwojcik commented Mar 8, 2013

Thanks! I'll update the demo page, too.

Also, would you mind me porting your changes to jQuery-Custom-Radiobuttons?

no prob ! you can update jQuery-Custom-Radiobuttons !

(sorry for the late answer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment