Here is a quick snippet which you can use to include the latest version of jQuery on your site.
Some benefits of this method:
- You’ll always be up to date
- Protocol isn’t defined so it’s safe to load from site’s starting with both http and https
- jQuery is served via a CDN so you don’t have to worry about uploading it to every server you work on
- Minified to reduce file size for shorter load time
Did you find this snippet helpful? Let me know.