<li class="list-group-item">
<div class="material-switch pull-right">
<input id="cr" onclick="func();" checked="" type="checkbox" name="cr"/>
<label for="cr" class="label-default"></label>
</div>
</li>