MyBB Community Forums

Full Version: can we use no conflict
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can we add the noconflict jscript to every javascript function for safety from the javascript conflicts between the jscript files we add?
will it cause problem if we use in each javascript file though it doesnt require?
I would prefer to add no.conflict() in headerinclude or footer templates.
what about the jscript files on the host?

forum/jscripts/.js files

we usually call them in headerinclude as <script type="javascript" src="mybb/jscripts/sdsd.js"></script> or directly insert the jscript file code in the headerinclude.
so is it good to add the no conflict in headerinclude, footer and in each forum/jscripts/.js files?
NO, no need to add this in each .js file. If you add this to only footer template, that's enough.
thanks.