0

I am using this switch. I have tried using

$("[id='switchId']").bootstrapSwitch('setState', false);

to no avail.

user1581390
  • 1,900
  • 5
  • 25
  • 38

1 Answers1

0

Instead of setState : use this $("[id='switchId']").bootstrapSwitch("state", true);

Raj C
  • 11
  • 1