We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Thanks to all those contributing.
It seems to me an example in the docs is not working. It is the "Simulate single selections using checkboxes" example.
I changed this code (which is in the docs)
<script type="text/javascript"> $(document).ready(function() { $('#example-simulate-single').multiselect({ on: { change: function(option, checked) { var values = []; $('#example-simulate-single option').each(function() { if ($(this).val() !== option.val()) { values.push($(this).val()); } }); $('#example-simulate-single').multiselect('deselect', values); } } }); }); </script>
to this code below to make it work
<script type="text/javascript"> $(document).ready(function() { $('#example-simulate-single').multiselect({ onChange: function(option, checked) { var values = []; $('#example-simulate-single option').each(function() { if ($(this).val() !== option.val()) { values.push($(this).val()); } }); $('#example-simulate-single').multiselect('deselect', values); } }); }); </script>
I suggest updating the docs if this is confirmed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Thanks to all those contributing.
It seems to me an example in the docs is not working. It is the "Simulate single selections using checkboxes" example.
I changed this code (which is in the docs)
to this code below to make it work
I suggest updating the docs if this is confirmed
The text was updated successfully, but these errors were encountered: