Platform SDK: Web Telephony Engine

BUTTON

<BUTTON
ACCESSKEY=string
CLASS=classname
DISABLED
ID
=value
STYLE=css1-properties
VOICEFILE=url
GRAMMAR=strings
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
event = script
>

Renders as a menu item if contained inside a FIELDSET attribute and no current menu owner is under FIELDSET. Renders as a stand-alone button otherwise.

Attributes

ACCESSKEY= key
Specifies the key attached to the menu item. If the ACCESSKEY attribute is not defined or the ACCESSKEY defined cannot be associated with the menu item, the WTE automatically assigns an ACCESSKEY attribute. For more information, see Assigning Dual Tone Multi-Frequency Digits to Menu Items.
CLASS= classname
Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
DISABLED
Used to disable an element. Does not affect whether the button breaks or begins a menu.
ID= value
An SGML ID used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can only be referenced by ordinal position.
STYLE= css1-properties
Specifies an inline style sheet for the element.
VOICEFILE= url
Specifies the voice file attached with this element.
GRAMMAR= strings
Specifies a set of alternative words or phrases for the menu item. The caller can select the menu item by speaking any word or phrase in the set. This attribute is ignored if SR is not enabled.
LANGUAGE= JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
Specifies the language in which the current script is written and invokes the proper scripting engine. The default value is JAVASCRIPT.
Language Description
JAVASCRIPT, JSCRIPT The scripting language is written in JScript.
VBS, VBSCRIPT The scripting language is written in VBScript.

event
Can be one or more of these events:

onclick

onselectionerror

onselectiontimeout

Remarks

This element is a block element.

Both the start and end tags are required.

A stand-alone button breaks any menu in which it is contained.

Intrinsic controls and anchors inside the button are not rendered as such.