I am using http://bootstrapswitch.site/ for toggle switch buttons. How can I get the toggle switch like \'on\' or \'off\' using jQuery?
My Code is :
<
As far as I can tell the method has been updated (but not well documented).
$('#switcher').bootstrapSwitch('state', true) $('#switcher').bootstrapSwitch('state', false)