destroyReturns: jquery element

Remove timepicker functionality from the element.

Examples

sample

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