Documentation

BX

mixed 
BX(
 mixed param
);

Function to reduce primitive acitons. Action depends on the param type:

  • String: the function will return link to a DOM-structure node with the param identifier. (Action will be similar to document.getElementById, but saves resources.)
  • Link to DOM-structure node: function will return link without changes.
  • Function: function will be installed as the handler of [link=654115]BX.ready[/link] pseudo-event.


© «Bitrix24», 2001-2022
Up