Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



donations support the development of
cronolog.org
and
refcards.com

next up previous contents index
Next: Submit buttons Up: Defining fields Previous: Selection fields


Reset buttons

Reset 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.


[ITCP]Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout using the Template Toolkit. The document is mainly of historical interest as obviously many of the sites mentioned have long since disappeared.

 
Copyright © 1996-2002 Ford & Mason Ltd