I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
I'm creating a module for joomla that needs jQuery and some jQuery plugins.
My problem is that if other plugins load jQuery too it rewrites mine and disables jQuery plugins!
How can I make sure jQuery loads only once (And before my plugins) in page?
thanks.
dont load jquery each time, test first if it's already loaded
ReplyDelete<script type="text/javascript">
if (typeof jQuery === 'undefined') {
document.write(unescape("%3Cscript src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
The information provided here will probably solve your issues:
ReplyDeleteLoad JQuery only once