JavaScript DHTML/Event onMethod/onDrop

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

"onDrop" 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" ondrop="function1()">

Drop selected text into the text field.

 Target object: 

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


     </source>