Proper way of loading jQuery from Google\'s CDN with fallback to local lib if necessary

/ Published in: HTML
Save to your folder(s)

Proper way of loading libs such as jQuery from Google's CDN. Place these JavaScripts at the bottom for fast page loading. To target different versions, you can be more specific if you want; eg. /1.4/ or even /1.4.4/.

(NOTE: you may either use http:// or https:// depending on your needs. Both will work.)


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.