Reset.type
|
|
The type property represents the HTML TYPE attribute of the Reset button. |
In the case of a Reset button, this will always be reset. |
<html> <head> <title> Example of the reset type property</title> </head> <body> <form name="form1"> Enter Name: <input type="text" Name="name" Size=15> <br> Enter Phone: <input type="text" Name="phone" Size=10> <br><br> <input type="reset" name=resetbutton value=Reset onClick='alert("The button type is: " + document.form1.resetbutton.type)'> <br> <br> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
|