How to make a local copy of a jquery libarary.

The code is pointing to this libarary.
  <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

how canmake this local so I can use it without worry of the site not being available.  

I need this exact version for the jquery menu I am using.
kdschoolAsked:
Who is Participating?

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

x
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.

hieloCommented:
right-click on the jquery link above.  Save it to your desktop.  Then upload the saved file to your webserver.  Let's say you FTP/upload the file to http://site.com/js/jquery-1.11.1.js, then in your existing code you will now need update to your local copy -ex:
<script src="//site.com/js/jquery-1.11.1.js"></script>

On another note, you can get it directly from google:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

See the following:
https://developers.google.com/speed/libraries/

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
kdschoolAuthor Commented:
This still point to an external file I thought I could put that on my server and not point to thiers.
kdschoolAuthor Commented:
So if I put in a folder called _js then I would change this line of code from this to this?

 <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

 <script src="_js/jquery-latest.min.js" type="text/javascript"></script>
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

hieloCommented:
>> This still point to an external file
I mentioned that in case you are not aware of Google's CDN.  The way they have their CDN setup, the jquery above will always use version 1.11.1.  However, if you prefer to have your own copy, just follow the steps I mentioned earlier.
skijCommented:
Download jquery-latest.min.js and then upload it to your server then point to it like this:
<script src="jquery-latest.min.js" type="text/javascript"></script> 

Open in new window

kdschoolAuthor Commented:
That worked I just had to put it at the root of the directory not in the sub directory.
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
jQuery

From novice to tech pro — start learning today.