Submit.handleEvent()
|
|
Syntax |
submit.handleEvent(event)
|
|
The handleEvent() method invokes the handler for the event specified. |
<html> <head> <script language="JavaScript1.2"> <!-- var counter = 0; window.captureEvents(Event.CLICK) window.onClick = myClickHandler; function myClickHandler{ window.document.myForm.mySubmit.handleEvent; } function changeText(){ counter++; document.myForm.myText.value = counter; return false; } --> </script> </head> <body> <form name="myForm"> <input type=TEXT size=2 value="" name="myText"> <input type=SUBMIT value="Submit" name="mySubmit" onClick='changeText()'> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
|