Answer the question
In order to leave comments, you need to log in
What is the best way to include jQuery?
Guys, tell me please. How to include jQuery on a website. Using the CDN or download jQuery.js to the project folder and include this file.
Also, which version is better? Why do some connect the 1.x version, but do not connect the 3.x version.
Answer the question
In order to leave comments, you need to log in
It's best to connect from CDN, but use fallback to local version in case cdn is unavailable (google: jquery fallback from cdn to local).
Connect the old version for compatibility with old plugins.
Or for cross browser support ( https://jquery.com/browser-support/ If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.)
Why do some connect the 1.x version, but do not connect the 3.x version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question