Drag ( activate event) and drop the draggable over droppable, then move out again.
<div id="draggable" class="ui-widget-content">
<p>Drag me to my destination</p>
</div>
</div><div class='col-md-2'>
<div id="droppable" class="ui-widget-header" >
<p>Dropp here</p>
(Droppable element)
</div>
<script>
$(document).ready(function() {
////////////////
$( function() {
$( "#draggable" ).draggable({
});
});
///////////
$( "#droppable" ).droppable({
activate: function( event, ui ) {
$( this )
.find( "p" )
.html( "started moving " );
},
drop: function( event, ui ) {
$( this )
.find( "p" )
.html( "Dropped ... " );
}
});
///////////////////////
})
</script>