JavaScript - - By Sam Deering

HTML5 Drag and Drop Image Demo

Just a quick HTML5 Drag and Drop demo I made in jsfiddle. If you didn’t know one of the cool features in HTML5 is the ability to Data Transfer from one object to another. There are more flashy things you can do but this demo just uses setData() and getData(). To try out the demo simply drag image 1 onto image 2.