Defines a menu item. The <choice> element serves several purposes:
<enumerate> prompt string.
|
|
Attribute |
Description |
|
dtmf |
A DTMF sequence to select this choice. Optional. |
|
accept |
Overrides the setting for the
|
|
next |
The URI of the dialog (i.e. form or menu) or document to transition to when this choice is selected. Exactly one of next, expr, event, or eventexpr must be specified. |
|
expr |
An ECMAScript expression to be evaluated and used as the URI of the dialog (i.e. form or menu) or document to transition to when this choice is selected. Exactly one of next, expr, event, or eventexpr must be specified; next has precedence over this attribute. |
|
event |
The name of the event to be thrown when this choice is selected. Exactly one of next, expr, event, or eventexpr must be specified; next and expr have precedence over this attribute. |
|
eventexpr |
An ECMAScript expression to be evaluated and used as the name of the event to be thrown when this choice is selected. Exactly one of next, expr, event, or eventexpr must be specified; next and expr have precedence over this attribute. |
|
fetchaudio |
The URI of audio to play while waiting for the document to be fetched. Optional. Overrides the value of the fetchaudio property. |
|
fetchaudiodelay |
The length of time to wait at the start of the fetch delay before playing Overrides the value of the fetchaudiodelay property. A platform extension. |
|
fetchaudiominimum |
The minimum length of time to play Overrides the value of the fetchaudiominimum property. A platform extension. |
|
fetchhint |
Defines when the next document should be fetched. Optional.
Overrides the value of the documentfetchhint property. |
|
fetchtimeout |
The length of time to wait for the next document to be fetched before throwing an Overrides the value of the fetchtimeout property. |
|
maxage |
Indicates that this document is willing to use a cached copy of the next document only while the age of the cached copy is less than or equal to the number of seconds specified by this attribute. Optional. Overrides the value of the documentmaxage property. |
|
maxstale |
Indicates that this document is willing to use a cached copy of the next document that has exceeded its expiration time by as much as the number of seconds specified by this attribute. Optional. Overrides the value of the documentmaxstale property. |
|
message |
A message string providing additional context about the event being thrown. The message will be available as a variable within the scope of the |
|
messageexpr |
An ECMAScript expression to be evaluated and used as a message string, as documented under |
error.badfetch event is thrown if next or expr refer to a non-existent dialog (i.e. form or menu), either within the same page, or within a different, existent, page.Audio Grammar Value SSML #PCDATA
fetchaudiodelay attribute.fetchaudiominimum attribute.None
|