Horje

Example of HTML ondragenter Event Attribute

It will Execute a JavaScript when a draggable element enters a drop target.

index.html
Example: HTML
 <div ondragenter="myFunction(event)"></div> 

Output should be:

Example of HTML ondragenter Event Attribute




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