Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)
Attribute of the PUBLIC:ATTACH element that identifies the source of the event. The value of for may be one of the following:
document– an event of the document object
element– Default. An event of the master element to which the behavior is attached.
window– an event of the window object.
The following example attaches the onclick event to the
ExpandCollapse() event handler:
<PUBLIC:ATTACH EVENT="onclick" ONEVENT="ExpandCollapse()" />
The for attribute is declared in markup only.