Questions tagged [jdocument]
The jdocument tag has no usage guidance.
1
question
5
votes
3answers
1k views
Load javascript script before </body> closing tag
I'm using $doc->addScript($path.'/js/script.js'); to load a Javascript file inside the head section. Is there any native way to load it in the bottom of the page, before the closing </body> ...