Contents Index Topic Contents |
Defining Event Handlers
When you use a scriptlet in your host application, the application can be notified about events that occur in the scriptlet. The scriptlet can expose two types of events:
- Standard DHTML events such as the onclick event and the onkeypress event. These events are triggered for the scriptlet container object as a whole — using a standard event, you cannot distinguish what control within the scriptlet triggered the event. For details, see Handling Standard Events.
- Custom events, which are events that you define or DHTML events not provided as standard events. You can also use custom events to pinpoint which control in the scriptlet triggered the event. For details, see Defining Custom Events.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.