destroyReturns: jquery element

Remove slider functionality from the element.

Examples

sample

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