Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

drag and drop html

function drag(ev) {
    ev.dataTransfer.setData("text", ev.target.id);
}
Source by interactjs.io #
 
PREVIOUS NEXT
Tagged: #drag #drop #html
ADD COMMENT
Topic
Name
5+8 =