Answer the question
In order to leave comments, you need to log in
How to include my js file in the Bitrix component?
In the component template I do this
CJSCore::RegisterExt("js_my", Array(
"js" => "/bitrix/js/myjs/myjs.js"
));
CJSCore::Init(array("js_my"));
Answer the question
In order to leave comments, you need to log in
right so -
https://dev.1c-bitrix.ru/api_help/main/reference/c...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question