A switch jQuery plugin without an initial option
Demo: http://tcavalin.github.io/multiSwitch/
Include script after the jQuery library:
<script src="src/multi-switch.js"></script>
<input type="checkbox" class="multi-switch" value="0" />
With a initial null default option:
<input type="checkbox" class="multi-switch" initial-value="0" unchecked-value="2" checked-value="1" value="0" />
Disabled:
<input type="checkbox" class="multi-switch" value="0" disabled="disabled" />
$(document).ready(function(){
$('.multi-switch').multiSwitch();
});