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...


How do you select element by ID in jQuery?



How do you select element by ID in jQuery?..

Answer / chaitanya

To select element use ID selector. We need to prefix the id with "#" (hash symbol). For example, to select element with ID "txtName", then syntax would be,

Hide Copy Code

$('#txtName')

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

How can you use array with jquery?

0 Answers  


How can we give face effect in jquery?

0 Answers  


How do you update ajax response with id " resilts"?

0 Answers  


Can you call C# code-behind method using jQuery? If yes,then how?

1 Answers  


Explain event.preventdefault? : jquery mobile

0 Answers  


Please explain remove class jquery with example?

0 Answers  


Which selector has better performance id or class and why?

0 Answers  


How To Use Ajax In Jquery?

0 Answers  


Difference between event.PreventDefault and event.stopPropagation?

0 Answers  


Is jQuery a library for client scripting or server scripting?

1 Answers  


what is the use of param() method in jquery .

0 Answers  


What does dollar sign mean in jquery? : jQuery Mobile

0 Answers  


Categories