button

Name

button -- A widget that activates some functionality when pressed

Additional Attributes

accesskey, dir, disabled, dlgType, group, image, label, orient, type, value

Description

A button typically gives the user an option to click it to carry out JavaScript code routine(s). This code can be a function call or inline script and is contained in the onclick attribute or the oncommand event handler. It can optionally have an image associated with a URL contained in the image attribute or by using the list-style-image CSS property. There are various types of buttons, determined by the type attribute, including checkbox, menu, menu-button, and radio. Leave this out for a normal button.

See Also

autorepeatbutton, toolbarbutton