MyBB Community Forums

Full Version: how to add javascript to temples?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i have some javascript file i upload it to my server
now how i can add it from temples
<script type="text/javascript" src="https://example.com/ajax/libs/jquery/1.4.3/jquery.n.js"></script>
<script type="text/javascript" src="https://example.com/ajax/libs/jquery/1.4.3/jquery.n.js"></script>
Its better to add them in headerinclude template. For this: Go to ACP > Templates > *Your theme's temmplates set* > Ungrouped Templates > headerinclude > and add those two line at the bottom of all code.