Documentation

BX.denyEvent/BX.allowEvent

void 
BX.denyEvent(
 DOMNode element,
 string event
);
void 
BX.allowEvent(
 DOMNode element,
 string event
);

Two methods that allow to temporarily enable and disable the handling of specific event in the specific element. Presently, only the handlers, assigned via element['on' + event] are disabled.



© «Bitrix24», 2001-2024
Up