how to change a bootstrap switch from ON state to OFF state using javascript – Jquery
how to change a bootstrap switch from OFF state to ON state using javascript. the switch html code is below, <input type="checkbox" class="alert-status" name="ab1" id="ab1" data-size="normal" data-on-text="OFF" data-off-text="ON" checked data-bootstrap-switch data-off-color="success" data-on-color="danger"> script code, $('.alert-status').bootstrapSwitch('state', false); i tried some steps…