August 1999
Intermediate to advanced
1488 pages
72h 53m
English
reset.name
The name property of the Reset object represents the name given to a Reset button as specified from the NAME attribute of the HTML <input type="reset"> tag.
In Listing 7.450, the name property is used to inform the user of the active frame.
<html> <head> <title> Example of the reset name 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 reset button name is: " + document.form1.resetbutton.name)'> <br> <br> ... |
Read now
Unlock full access