Horje

Example of HTML ondrop Event Attribute

It will Execute a JavaScript when a draggable element is dropped in a <div> element.
index.html
Example: HTML
 <div ondrop="myFunction(event)"></div> 

Output should be:

Example of HTML ondrop Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Drag Events Attribute
Uploaded by:
Admin