destroyReturns: jquery element

Remove datetimepicker functionality from the element.

Examples

sample

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