Skip to Main Content
Pro jQuery 2.0, Second Edition
book

Pro jQuery 2.0, Second Edition

by Adam Freeman
October 2013
Intermediate to advanced content levelIntermediate to advanced
1044 pages
24h 36m
English
Apress
Content preview from Pro jQuery 2.0, Second Edition

CHAPTER 5

image

jQuery Basics

In this chapter, I will introduce you to your first jQuery script. The script is simple, but it demonstrates many of the most important characteristics of jQuery, including how you select elements in the document, how such selections are presented to you, and the nature of the relationship between jQuery and the built-in DOM API that is part of the HTML specification. Table 5-1 provides the summary for this chapter.

Table 5-1. Chapter Summary

Problem Solution Listing
Add jQuery to an HTML document. Use the link element to import the jQuery element, linking either to your web server or to a CDN. Add a script
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beyond jQuery

Beyond jQuery

Ray Nicholus
jQuery UI

jQuery UI

Eric Sarrion

Publisher Resources

ISBN: 9781430263883Purchase book