Drag me around
<div id="draggable" class='drg_box'>
<p>Drag me around</p>
</div>
<br><br><br><br><br><br><br>
<button id=b1>Destroy</button>
<script>
$(document).ready(function() {
////////////////
$( "#draggable" ).draggable({
});
//////
$("#b1").click(function(){
$( ".drg_box" ).draggable( "destroy");
$('#d1').html("Status : Destroy ");
})
/////
})
</script>