The switch is a HTML component, that presents a boolean (true/false) value.
<span class="switch"> <label>A</label> <input type="checkbox" class="switch" id="switch-id" checked> <label for="switch-id">B</label> </span>
switch disabled
switch
disabled
switch switch-sm switch-lg
switch-sm
switch-lg
You can get the value of certain switch with JQuery, as it follows below.
$("#switch-id")[0].checked
There was an error while loading. Please reload this page.