Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

drag and drop html

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