Code has been added to clipboard!

Finishing HTML5 Drag and Drop Script

Example
function drop(i) {
  i.preventDefault();
  var data = i.dataTransfer.getData("doggo");
  i.target.appendChild(document.getElementById(data));
}