Submit.onClick
|
|
The onClick event handler is fired when a submit button is clicked. |
<html> <head> <script language="JavaScript"> <!-- function setText(){ document.myForm.myText.value = document.myForm.myText.value.toUpperCase(); } --> </script> </head> <body> <form name="myForm"> Please Enter some text and click the Submit Button.<br> <input type=TEXT value="Enter Text Here" name="myText"> <input type=BUTTON value="Submit" name="mySubmit" onClick="setText()"> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
|