Demo of CREATE event for Dragging elements

Drag me around










HTML

<div id="draggable" class='drg_box'>
  <p>Drag me around</p>
</div>

<br><br><br><br><br><br><br>
<div id=d1></div>

jquery

<script>
$(document).ready(function() {
///////////
$( "#draggable" ).draggable({
  create: function( event, ui ) {
$('#d1').html("It is created with the page load ")
}
});
///////////
})
</script>