Documentation

BX.fireEvent

BX.fireEvent(
 DOMNode node,
 string event
);

The method emulates an event at DOM element.

Note: The use of this method is specific and is required only in certain cases. For example, there is a "click" event handler method in the third-party library, but is binded to another handler. You can call this method from your own code, to emulate a click to an element, which "listens" to third-party method.

Function parameters

Parameter Description
DOMNode node Node
string event Event.
© «Bitrix24», 2001-2024
Up