[jQuery] Concern about linking to jQuery source from jquery.com
In the jQuery tutorial it states to link to the jQuery source via the latest.js on <a href="http://jquery.com">jquery.com</a>. My concern is that using this on a production live site and the possibility of <a href="http://jquery.com">
jquery.com</a> site being down or offline. I plan on using jQuery for the main website of the college I work for, and can't really afford for the app to not function properly because of <a href="http://jquery.com">jquery.com
</a> being offline for whatever reason.
I understand that most of the time (hopefully 99.x%) the jQuery site will be up and the latest.js will be accessible, but in case it isn't I would like my code to check to see if the
latest.js has been loaded, and if not, then it would load a copy of the file that on our server.
So, what would be a simple way for me to check if jQuery exists in the beginning of my code I write that use the library, and if not, then load jQuery from the copy of the
latest.js which I have on our server at the college?
Eric
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/