O'Reilly logo

JavaScript Quick Syntax Reference by Mikael Olsson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 15

image

jQuery

The jQuery framework is a widely used JavaScript library designed to simplify DOM manipulation and eliminate browser incompatibilities.

Including jQuery

To include jQuery you can place the following reference in the <head> section of your web document. This loads the latest version of jQuery from Google’s Hosted Libraries service, which at the time of writing is version 1.11.3.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

If you prefer to have a local copy of the script file, it can be obtained from jquery.com. However, linking to jQuery from a content delivery network (CDN), such ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required