toggleReturns: checkbox as jquery object

Toogle the state of the checkbox.

Fires

change

Examples

sample

    
 <button onclick="$chkb.toggle()" class="gj-button-md">toggle</button>
 <hr/>
 <input type="checkbox" id="checkbox"/>
 <script>
     var $chkb = $('#checkbox').checkbox();
 </script>