void BX24.loadScript(Array|String script[, Function callback])

Loads and runs a client side JavaScript file specified by script. If this parameter is an array, each of the array items must be a path to a script file in which case all of the scripts will be loaded and executed in sequence.

The callback function will be called once all of the scripts have been executed.

© «Bitrix24», 2001-2024