Jump to content

Topic on Talk:JQuery

How to load CDN script after jQuery?

1
Guoyunhe (talkcontribs)

I need to load a script from CDN which depends on jQuery. If I use $outputPage->addScriptFile('http://example.com/xxx.js'), the script loads before jQuery and fails.

Reply to "How to load CDN script after jQuery?"