Home > DeveloperSection > Interviews > What are jQuery Selectors? Explain them?

Posted on    October-17-2011 2:06 AM

 JQuery JQuery 
Ratings:
 1 Answer(s)
  2193  View(s)
Rate this:

Arun Singh

Total Post:310

Points:1550
Posted on    October-17-2011 12:00 AM

A Selector identifies an HTML element tag that is used to manipulate with jQuery code.

Selectors allow page elements to be selected. $ is the symbol used for it. $ can also be called as jQuery selector. Selectors are the most important part of the jQuery , we can say that heart of jQuery.

  • We can select single (using id selectors) or multiple elements using class or element selectors
  • Selectors find DOM Elements to manipulate based on CSS Selector syntax
  • Selectors can find the elements by ID, class, Element Name and hierarchical positioning
  • Selectors can return sequence of DOM elements , and we can use methods or logic on every matched element.

Don't want to miss updates? Please click the below button!

Follow MindStick