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')
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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!