Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are selectors in jQuery and how many types of selectors are there?



What are selectors in jQuery and how many types of selectors are there?..

Answer / chaitanya

To work with an element on the web page, first we need to find them. To find the html element in jQuery we use selectors. There are many types of selectors but basic selectors are:

Name: Selects all elements which match with the given element Name.

#ID: Selects a single element which matches with the given ID

.Class: Selects all elements which match with the given Class.

Universal (*): Selects all elements available in a DOM.

Multiple Elements E, F, G: Selects the combined results of all the specified selectors E, F or G.

Attribute Selector: Select elements based on its attribute value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

How to debug jQuery?

0 Answers  


How do you select an item using css class or id and get the value by use of jquery.

0 Answers  


Tell me is jquery a library for client scripting or server scripting? : jquery mobile

0 Answers  


How do you select all elements with the class of “selected” in jquery?

0 Answers  


How to stop jqm from auto-enhancing an element? : jquery mobile

0 Answers  


Can we use protocol less URL while referencing jQuery from CDNs?

1 Answers  


Explain the term method chaining? : jQuery Mobile

0 Answers  


What does dollar sign mean in jquery? : jQuery Mobile

0 Answers  


What is the difference between prop() and attr() in jquery?

0 Answers  


Explain .siblings() method in jquery?

0 Answers  


What are some of the ways to provide effects? : jQuery Mobile

0 Answers  


Is jQuery replacement of Java Script?

2 Answers  


Categories