You are here: Reference > JavaScript > client-side > event handling > methods > raiseEvent (external)

raiseEvent method (external)

Browser support:
Dispatches the specified custom event from a Scriptlet Component to the browser window.
This method is only supported by Scriptlets and cannot be used in HTML applications. If you need to dispatch an event in HTML, use the dispatchEvent method.


object.raiseEvent (eventName, eventObj);
You can find the related objects in the Supported by objects section below.


Required. String that specifies the name of the event to be dispatched.
Required. Reference to an event object to be dispatched.

Return value:

This method has no return value.

Supported by objects:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content