Getting Jquery

What is the best way to insure you are ALWAYS getting the latest version of Jquery when you reference it externally?

For example, I have this in one of my files that use jquery:

<script src=""></script>

Seems odd (& dangerous) to reference a specific version #. Is there a way around this?

Richard KortsBusiness Owner / Chief DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
afaik there is no direct latest jQuery version. jQuery had this once but it has been discontinued with the new version branch of 2.x.

They argue, that this puts your web site at a high risk, as you can never ensure that an update would not break any functionality.
Therefore this link
<script type="text/javascript"
src="" charset="utf-8">

Open in new window

references still the "old" 1.11.1 version.

Please see also:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rainer JeschorCommented:
Therefor to be sure, always reference a specific version - and watch the jQuery site regularly. If there is an update / new version, review the upgrade log on and deploy it / test your site first on a test server (with all the necessary browser versions you want to support !!!).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.