-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
When using this checkbox, the checked and unchecked is reversed.
Look at this code
<input id="chk" type="checkbox" checked) />
You will see that the "NO" has been selected. And when you use in the js it is totally wrong! The No will be "TRUE" and Yes will become "FALSE".
$('#chk').checkboxpicker();
$('#chk').change(function () { alert ($(this).is(":checked")); });
$('#chk').prop('checked', false).trigger('change');
Any idea how to fix it?
Cheers
Metadata
Metadata
Assignees
Labels
No labels