Export (0) Print
Expand All

SVGError | onerror event

Occurs when an element does not load properly or a script runs incorrectly.

Scalable Vector Graphics: Scripting, Section 18.4.3Internet Explorer 9

Syntax

HTML Attribute <element onerror = "handler(event)">
Event Property object.onerror = handler;
attachEvent Method object.attachEvent("onerror", handler)
addEventListener Method object.addEventListener("SVGError", handler, useCapture)

Event information

SynchronousNo
BubblesYes
CancelableNo

Event handler parameters

pEvt [in]

Type: IDOMUIEvent

The IDOMEvent object.

Standards information

Remarks

The browser displays its error message when a problem occurs and runs any error handling routines that are associated with the event.

To invoke this event, do one of the following:

  • A user or the system causes an error event.

See also

SVGSVGElement
onerror

 

 

Show:
© 2014 Microsoft