onerror Event

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Fires when a property is assigned an invalid value, or the property is read-only, for the mask behavior.


Event Property mask.onerror = handler;
attachEvent mask.attachEvent( "onerror", handler); Internet Explorer only
Named script <SCRIPT FOR = mask EVENT = onerror> Internet Explorer only

Event Information

Bubbles No
Cancels No
To invoke
  • Assign an invalid value to a property.
  • Assign any value to a read-only property.
Default action Initiates any action associated with this script.


The onerror event is available only to objects participating in the mask behavior.

Applies To


Community Additions