I am using this switch. I have tried using
$("[id='switchId']").bootstrapSwitch('setState', false);
to no avail.
I am using this switch. I have tried using
$("[id='switchId']").bootstrapSwitch('setState', false);
to no avail.
Copyright © 2021 Jogjafile Inc.
Instead of setState : use this $("[id='switchId']").bootstrapSwitch("state", true);