37.4 apex.event namespace

The apex.event namespace stores all event related functions of Oracle Application Express.

37.4.1 apex.event.trigger

Given a jQuery selector, jQuery object or DOM Node the specified pEvent is triggered. pEvent can be a browser event like "click" or "change" but also a custom event like "slidechange". This function should only be used to trigger events that are handled by the dynamic action framework. Otherwise, custom events registered by plug-ins installed in your application or any event that is already exposed in dynamic actions can be compromised.

Parameters

Table 37-10 apex.event.trigger

Name Type Description

pSelector

jQuery selector | jQuery object | DOM Node

Selector for which the event will be triggered.

pEvent

String

The name of the event.

pData

Object

Optional array of addition arguments to pass to the event.

Returns

Returns true if the event is canceled.

Boolean