O'Reilly logo

jQuery 2 Recipes: A Problem-Solution Approach by Arun K. Pande

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

jQuery Selectors

This chapter covers jQuery selectors, which are used to get (or select) HTML elements based on their ID, tag name, class name, types, attributes, attributes values, and other criteria. The set of selected elements can be fine-tuned further by using selector extensions or jQuery methods and the set can be expanded by using certain jQuery methods. Once you have a desired set of elements, you can access and manipulate their attributes values, properties, and style.

In this chapter and next two chapters, you will work on recipes that show you how you can use jQuery to select HTML elements directly or indirectly (by traversing ...

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