EVENTVTML 2

EVENT defines an event for which an event handler can be written in a scripting language.

Location

The EVENT tag can occur only inside the ATTRIBUTES section.

Function

The EVENT tag has a function only for Tag Inspector. Events defined by this tag are listed as a separate category; when editing the event, you can choose between a JavaScript or VBScript event handler. After that, a name can be entered for the function that is going to be the event handler for the event, and, if necessary, a SCRIPT tag is created in the HEAD section of the document with an empty function stub for the named event handler.

JavaScript event names are entered into the tag with correct capitalization, events handled by other scripts are entered in lowercase.

Syntax and Attributes

<EVENT .../>
NAME The name of the event

top