|
|||||||||
|
Reset buttonsReset buttons cause the data associated with all fields in the form to be reset to the initial values specified in the HTML document, for example:
<INPUT TYPE="reset" VALUE="CLEAR"> You can have more than one reset button in a form, perhaps one at the top and one at the bottom, purely for convenience. Whichever one is chosen the effect will be the same. A reset button is defined by an INPUT element where TYPE="reset". The optional VALUE attribute can be used to specify the label of the button, otherwise the browser's default reset label will be used. The NAME attribute is not used for reset buttons since no data is transmitted and hence no field needs to be identified to the server.
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |