|Property/method value type:||Function object|
|-||myWindow.ondragdrop = aHandler|
|-||ondragdrop = aHandler|
|HTML syntax:||<BODY onDragDrop="aHandler"> <FRAMESET onDragDrop="aHandler">|
|Argument list:||aHandler||An event handler function object|
This event handler is invoked when the user drags an item onto a window in Netscape Navigator.
To access the details of the entity that has been dragged into and dropped on the window, you need to access the data property of the event object that is passed as an argument to the handler when it is called.
The data is a single URL when a single entity is dropped into the window or an array of strings, each containing an URL, when a collection of entities are dropped onto a window.
You will need UniversalBrowserRead privilege to access this data.
The handler is registered either by assigning a function to the ondragdrop property or by defining it with an HTML tag attribute.