Skip to content

Comments

jQuery 1.9 update#1

Open
bigotilda wants to merge 1 commit intonijikokun:masterfrom
bigotilda:jquery_1.9_update
Open

jQuery 1.9 update#1
bigotilda wants to merge 1 commit intonijikokun:masterfrom
bigotilda:jquery_1.9_update

Conversation

@bigotilda
Copy link

jQuery 1.9 requires use of prop for setting properties like "checked" on checkboxes. Without this change, when using jQuery 1.9, I found that the toggling action was breaking after two or three consecutive clicks of the toggle checkbox. By "breaking" I mean it would cease to react or change states to any further clicks.

This change seems to be fine with previous jQuery versions.

@bigotilda
Copy link
Author

Forgot to mention the URL containing the inspiration for the update: http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant