I want to use a JavaScript file, lying in the root folder. How can I include that JS file?
It should be the same as including it in any standard html page..
<script type="text/javascript" src="/scriptname.js"></script>
If this isn't exactly what you are looking for let me know and I'd be happy to expand as far as I can.
use
<script language="javascript" src="FILE PATH"></script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With