destroyReturns: checkbox as jquery object

Remove checkbox functionality from the element.

Examples

sample

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