Page 1 of 1

You want to add the file `somescript.js` in a template. The JS-file is in the folder `root: js/lib`. Which piece of code

Posted: Sat Aug 20, 2022 7:54 am
by answerhappygod
You want to add the file `somescript.js` in a template. The JS-file is in the folder `root: js/lib`. Which piece of code should you use?

A. $this->getItemurl('lib/somescript.js')
B. $this->getskinurl('lib/somescript.js')
C. $this->getJsUrl('lib/somescript.js')
D. $this->getFileurl('lib/somescript.js')
E. $this->getLibUrl('lib/somescript.js')