Answer the question
In order to leave comments, you need to log in
Connecting JS to Bitrix?
Good day to all! Bitrix has a method Asset::addJs which puts JavaScript in the head. But what if I need to include JS not in the head, but somewhere else?!?? Moreover, so that it is not cached. What are the options!??
Thank you all in advance)
Answer the question
In order to leave comments, you need to log in
use Asset::addString(
there 2, the 3rd parameter is just what you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question