Running Custom Javascript File

Status
This content is read-only, or is not open for further replies.

Grumpy Squid

Guest
offline
Hello,

Awhile ago someone wrote some custom Jquery code that we keep in a javascript file on our server. At some point it stopped working. I know Xenforo 2.3 doesn't support Jquery so I had two questions:

1. When looking up the issue online someone mentioned the syntax to include external javascript files. The post is from 2012, is the syntax still
Code:

<xen:require js="assets/custom.js" />
Would I be able to stick this in our page_container somewhere and have it run the javascript...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom