Choosing an object or event for scripting

StepsTo write a script for an object event:

  1. In the rightmost drop-down list, select a scripting language.

  2. In the Script toolbar, select an object in the leftmost drop-down list.

    The object list box lists all client and server scripts you create. In addition, it lists all scriptable HTML objects (objects for which events are triggered).

  3. In the center drop-down list, select an event.

    If the object you have selected is an independent script and does not have events, the list box is blank. If you have enabled the 4GL event model, server-side events are listed in blue.

The script you write is saved in the HTML page, associated with the HTML object and its event attribute.