Using jQuery droppable plug-in , you can make selected elements droppable (meaning they accept being dropped on by draggables).
All callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):
For options, events and method click here
When you drop small box on big one , it will show a alert message :
Learn from experts! Attend jQuery Training classes.
Liked it! Share this Tutorial