JavaScript DHTML/Event onMethod/onDragLeave

Материал из Web эксперт
Перейти к: навигация, поиск

"onDragLeave" Example

   <source lang="html4strict">
   

<html> <head> <script language="JavaScript">

</script> </head> <body bottommargin=150>

Source object: <input id="sourceObject" size=50 value="The text to Drag" ondragleave="function1()">

Drop selected text into the following text field.

 Target object: 

<input id="targetObject" size=50 value="Drag destination element"> </body> </html>


     </source>