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 |
What is a use of jquery filter?
What happen if you return false from a jQuery event handler?
What is .detach()? : jquery mobile
What are the advantages of jQuery?
Define all the ways to include jquery in a page?
How jQuery selectors are executed?
What is the difference between event.stopPropagation and event.stopImmediatePropagation?
Need to add jQuery file in both Master and Content page?
Explain the difference between .empty() and .remove() ?
What is the difference between event.PreventDefault and event.stopPropagation?
What are the types of selectors in jQuery?
What does dollar sign ($) means in jQuery?