Name

event — NN n/a IE 4 DOM n/a

Synopsis

Read-only

Internet Explorer 4’s event model allows binding of object events to SCRIPT elements with the help of the EVENT and FOR attributes (see Chapter 6). The event property returns the setting for the EVENT attribute.

Example

if (document.all.scripts[2].event == "onresize") {
    ...
}

Value

Case-sensitive event name.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.