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

What happen if you return false from a jQuery event handler?

0 Answers  


What is jquery.holdready() function?

0 Answers  


How to load jQuery locally when CDN fails?

1 Answers  


How to use transition effects? : jQuery Mobile

0 Answers  


Is window.onload is different from document.ready()?

0 Answers  


What is the difference between calling stop(true,true) and finish method?

1 Answers  


Explain the difference between find and children methods in jquery?

0 Answers  


How to use it jquery knockout?

0 Answers  


How to work with jQuery parent(), children() and siblings()?

0 Answers  


Is jquery a w3c standard? : jquery mobile

0 Answers  


What are the methods used to provide effects in jquery?

0 Answers  


Need to add jQuery file in both Master and Content page?

0 Answers  


Categories