Serving your jQuery from a public CDN (Content Delivery Network) can arguably offer several advantages to your website, especially if you don’t use a fast server to host it. If you’re not familiar with both sides of the arguments, please check the two attached links below as there’s no points to repeat the subject over the advantages vs. disadvantages of hosting jQuery from a CDN.
3 reasons why you should let Google host jQuery for you (broken – 4/26/2017)
You just need to hotlink to any of the CDN you want to use in your source attribute:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"> </script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"> </script> <script> !window.jQuery && document.write('<script src="/js/jquery-1.12.4.min.js"></script>') </script>
If you don’t think this technique is sufficient, there are more techniques that might suit your need better from the two links below:
Most Popular jQuery CDN Links
All three links are listed in the order of popularity. Just use one jQuery CDN link as your source.