Load jQuery .js file even if the Google CDN is down

Category > JQUERY || Published on : Saturday, July 5, 2014 || Views: 4497 || jQuery Tip jQuery snippets jQuery google cdn down jquery sample jquery help google cdn


Large number of developers and designers uses Google CDN for the jquery files and some condition like DNS server down, these files are not available. To resolve this problem we can usthe following code into the head of the webpage to load the local version of jQuery, if Google CDN is down

 

  1 
  2