I use this codes for checkbox checked event but it does not work.
css
Try this worked for me
$('#check').change(function (event) { var state = $(this).bootstrapSwitch('state'); if (state) { // true } else { // false } event.preventDefault(); });