© Jack Franklin, Russ Ferguson 2017

Jack Franklin and Russ Ferguson, Beginning jQuery, https://doi.org/10.1007/978-1-4842-3027-5_3

3. Traversing the DOM

Jack Franklin and Russ Ferguson2

(1)Aviation House, GDS, 6th Floor Aviation House, London, UK

(2)Apt 129, Ocean, New Jersey, USA

You’ve seen how jQuery works and how to make 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. This chapter doesn’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. For example, in Chapter 2, after looking at how fadeOut() works, you looked only briefly at fadeIn() because it was obvious what ...

Get Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins 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.