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
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')
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')