Demo of activeClass of droppable element when draggable element is on move

Drag me to my destination

Dropp here





HTML

<div class='row'> <div class='col-md-6'> 
<div id="draggable" class='drg_box'>
  <p>Drag me to my destination</p>
</div>
</div><div class='col-md-2'>  
<div id="droppable" class='drop_box'>
  <p>Dropp here</p>
</div>
</div></div>
<div id=d1></div>

jquery

<script>
$(document).ready(function() {
////////////////
$( function() {
    $( "#draggable" ).draggable({
      refreshPositions: true 
});
});
///////////
$( "#droppable" ).droppable({
activeClass: "ui-state-highlight",
      drop: function( event, ui ) {
        $( this )
           .find( "p" )
           .html( "Welcome Dropped!" );
     }
    });
///////////////
})
</script>