New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to switch state #8
Comments
The following works:
But if you wanna re-toggle all to the "off-state", it doesn't work:
|
Thanks for opening an issue! You can retrieve all checked checkboxes using the $('.onoffswitch-checkbox:checked').something(); To toggle checked state, it works the same as with any native checkbox. Note that the checked attribute is not the same thing as the checked property. Have a look at "Attributes vs. Properties" on this page. |
Yes ok, but it is not working like that:
|
Don't remove the property. Set it to false. .prop("checked", false) |
I have multiple checkboxes with the plugin enabled. I wanna do something like;
The text was updated successfully, but these errors were encountered: