onerror Event
Occurs when a error is encountered while communicating with the Speech Platform.
HTML | <smex onerror="eventHandler()"> |
JScript | smex.onerror = eventHandler; |
Named Script | <SCRIPT FOR = smex EVENT = onerror> |
Remarks
When the onerror event occurs while trying to communicate with the Speech Platform, the status property is set to -2 indicating that communication with the platform cannot be established or has been interrupted.
Although it does not receive properties directly, the event handler can query the status property of the smex element for data about the event.