Mega Code Archive

 
Categories / JavaScript Tutorial / Window
 

Window onDragDrop

The onDragDrop event handler is fired when the user drops an object. <html>     <body onDragDrop='return(confirm("Are you sure you want to continue?"))'>     </body>     Try to drop an element on this page.     </html>