3

I need help to find the link to the jquery library so i can include it into my website. I searched on the official website but there does not seem to be any info or it is not obvious enough.

There is only the possibility to download the jquery library, but i just need the link so i can include it. Where do i have to search?

I found two source links, but it seems like they are obsolete:

<script src="//code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
Black
  • 18,150
  • 39
  • 158
  • 271

2 Answers2

3

Copy one of these 2 urls into your code. They are from MAXCDN. Production: http://code.jquery.com/jquery-2.2.0.min.js Development: http://code.jquery.com/jquery-2.2.0.js

CaliKane
  • 104
  • 1
  • 9
  • Thank you. Which one should i choice? Production or Development? – Black Feb 05 '16 at 08:46
  • 1
    No problem. Production if you are worried about decreasing file size. It removes all the spacing between the code to reduce the size of it. Use development if you are still working on your website or app. I personally always use the production version. – CaliKane Feb 05 '16 at 08:48
  • Thx. In my oppinion the official site should be beginner friendly, people should be able to find this info by themselves without much research. – Black Feb 05 '16 at 08:55
  • Yeah, I saw where you looked. It used to be posted there, where you found the other ones. They moved it after they came out with the new version, I'm not sure why. – CaliKane Feb 05 '16 at 09:01
2

With this url you can get the latest versions jquery: http://code.jquery.com/jquery-latest.js or http://code.jquery.com/jquery-latest.min.js for production

Joaquinglezsantos
  • 1,510
  • 16
  • 26