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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.