I am using this bootstrap switch library.
I have a checkbox in my html. Now, it is always showing in the OFF state, even though its checked property is set to true when the document is loaded.
What do I need to do besides that?
Edit - What I understand is Switch is adding a container around input type checkbox field with class bootstrap-switch-off
by default, irrespective of the value of checked attribute that goes by with the checkbox field.
<input type="checkbox" name="my-custom" id="Switch" checked="true">