Hour 20. A Closer Look at jQuery

What You’ll Learn in This Hour

• Including jQuery in your pages

• jQuery’s $(document).ready handler

• Selecting page elements

• Working with HTML content

• Showing and hiding elements

• Animating elements

• Command chaining

• Handling events

• Using jQuery for Ajax applications

Many JavaScript libraries are available, but jQuery is arguably the most popular and also the most extensible. A huge number of developers contribute open source plug-ins for jQuery, and you can find a suitable plug-in for almost any application you might have. The wide range of plug-ins and the simple syntax make jQuery such a great library. In this hour you learn the basics of jQuery and get a taste of how powerful it is.

Including ...

Get Sams Teach Yourself JavaScript™ in 24 Hours, Fifth 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.