CHAPTER 4

image

jQuery Selectors Filtering and Expansion

This chapter covers jQuery selectors filtering (narrowing) and expansion. jQuery selector filtering is used to narrow down the set of selected elements and the expansion method is used to add more elements to the set of selected elements. Programming logic can be used to include, exclude, or replace selected elements in the set. Once you have the desired set of elements, you can access and manipulate their attributes values, properties, and style.

This chapter includes recipes that show you how to fine-tune sets of selected elements using filtering and expansion in order to:

  • Access their style, ...

Get jQuery 2 Recipes: A Problem-Solution Approach 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.