Javascript – accept an image that is dragging in HTML

htmljavascriptjavascript-events

In many browsers today you can click and drag images. Can I leverage this in any way? Could I receive an event when an image is dragged and dropped on top of another image in the same browser window?

Best Answer

You could use the JQuery Draggable plugin.