CHAPTER 2

image

Common jQuery Actions and Methods

Now that you understand how element selection works, you can start learning the basics of how jQuery simplifies interaction with web pages. In this chapter, you’ll get your hands dirty with the most common and useful aspects of jQuery.

This chapter will read more like a reference and may be a bit dry at times, but it’s definitely in your best interest to work through the examples presented within. Having a basic understanding of how these methods work and what they do will prove invaluable as you start building the example project later on in this book.

Understanding the Basic Behavior of jQuery Scripts ...

Get Pro PHP and jQuery, Second 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.