O'Reilly logo

Beginning jQuery by Jack Franklin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3

image

Traversing the DOM

You’ve seen how jQuery works and how animated boxes fade in and out. Now it’s time to take a more methodical look at the library and explore everything it can do. I won’t cover every method jQuery has to offer because a lot of methods do very similar things. There are also methods that do the exact opposite of each other. In the last chapter, you looked at fadeOut(), and briefly at fadeIn() because it was obvious what it would do, having met fadeOut(). There is a similar situation with a lot of jQuery methods.

This chapter won’t simply be a documentation of all jQuery’s traversal methods, however. Efficiency is a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required