The Intrinsic Reset Control

The intrinsic Reset control clears all the text fields in the current form. The Reset control appears in the browser as a button and by default has the caption "Reset."

Attributes

NAME A string representing the name of the Reset control
VALUE A string representing the text that appears in the Reset button caption

Events

OnClick Fires whenever the control is clicked
OnFocus Fires when the control receives the focus

Syntax

<INPUT TYPE="RESET" [NAME="string"] [VALUE="string"] [OnClick="subroutine"][OnFocus=" subroutine"]>

Example

<FORM>
<INPUT TYPE="TEXT">
<INPUT TYPE="RESET" VALUE="Reset Me">
</FORM> 

© 1996 by Scot Hillier. All rights reserved.