Chapter 18

jQuery

In This Chapter

arrow Understanding jQuery

arrow Selecting elements

arrow Creating animations and transitions with jQuery

It’s best to have your tools with you. If you don’t, you're apt to find something you didn’t expect and get discouraged.

— Stephen King

jQuery is the most popular JavaScript framework around and is used by nearly every JavaScript programmer in order to speed up and simplify JavaScript development. In this chapter, you discover the basics of jQuery and see why it’s so popular.

ontheweb Don’t forget to visit the website to check out the online exercises relevant to this chapter!

Writing More and Doing Less

jQuery is currently used by more than 61 percent of the top 100,000 websites. It’s so widely used that many people see it as an essential tool for doing JavaScript coding.

jQuery smoothes out some of the rough spots in JavaScript, such as problems with browser compatibilities, and makes selecting and changing parts of an HTML document easier. jQuery also includes some tools that you can use to add animation and interactivity to your web pages.

The basics of ...

Get Coding with JavaScript For Dummies 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.