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
Would I be able to stick this in our page_container somewhere and have it run the javascript written in that file?
2. When including an external javascript file like this, does it being jquery matter? Would it still work even if Xenforo doesn't support it?
I'm guessing the reason this doesn't work is because the code in the custom file is Jquery, but I'd like to make sure.
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" />
2. When including an external javascript file like this, does it being jquery matter? Would it still work even if Xenforo doesn't support it?
I'm guessing the reason this doesn't work is because the code in the custom file is Jquery, but I'd like to make sure.