Button.onclick() HandlerNameButton.onclick() Handler---invoked when a Button is clickedAvailabilityNavigator 2.0, Internet Explorer 3.0 Synopsis
<INPUT TYPE="button" a definition of the handler VALUE="button-text" onClick="handler-statements"> button.onclick a reference to the handler button.onclick(); an explicit invocation of the handler Descriptiononclick() is an event handler invoked when the user clicks on a button. A button's onclick() handler is defined by the onClick attribute of the HTML <INPUT> tag. The value of this attribute may be any number of JavaScript statements, separated by semicolons; these statements will be executed when the user clicks on the button. |
|