The Intrinsic Button Control

The intrinsic Button control is simply used to supply a general-purpose button control on a form. The button is implemented with the <INPUT> tag.

Attributes

NAME A string representing the name of the Button control
VALUE A string representing the text that appears on the button

Events

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

Syntax

<INPUT TYPE="BUTTON" [NAME="string"] [VALUE="string"]

[OnClick="subroutine"][OnFocus=" subroutine"]>

Example

<FORM>
<INPUT TYPE="BUTTON" NAME="btnOne" VALUE="Push Me!">
</FORM> 

© 1996 by Scot Hillier. All rights reserved.