Chapter 23. A Closer Look at jQuery

What You’ll Learn in This Chapter:

How to use jQuery’s $(document).ready handler

How to use jQuery to select page elements and manipulate HTML content

How to chain commands together and handle events with jQuery

In the preceding chapter you learned a little bit about a few different JavaScript libraries and frameworks, such as how to include the functionality in your own site and (perhaps more important) why you might want to do so. One of the libraries discussed was jQuery, and this chapter is fully devoted to learning jQuery basics. By the end of the chapter, you will likely see why jQuery is so popular, and why developers continue to contribute plug-ins to this open-source project for the rest of the ...

Get HTML, CSS and JavaScript All in One, Sams Teach Yourself: Covering HTML5, CSS3, and jQuery, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.