I am using tolerance: "fit"
for my droppable div which works perfectly.
it drops only when the draggable object fits the droppable div.
$('#drag').draggable({ revert: "invalid"});
$('#drop').droppable({ tolerance: "fit" });
What I want is , I want to alert a message if user drops the draggable div which is not fit to droppable , Saying "Please drop object within the Container ". Any idea how to do it ? I found nothing regarding this.