Answer Posted / 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 View All Answers
Explain the difference between $(this) and 'this' in jquery?
What is the script build up by jQuery?
Difference between event.PreventDefault and event.stopPropagation?
What does the jQuery migrate function do?
Can you please explain the difference between parent() and parents() methods in jquery? : jquery mobile
What are the advantage of using cdn? : jquery mobile
Difference between find() and closest() in jquery?
What is the difference between find and children methods?
What is the difference between jquery and javascript?
How to control page titles in jquery mobile? : jquery mobile
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
How to disable cut,copy and paste in TextBox using jQuery?
What the use of $ symbol in jquery.
Explain the concepts of "$ function" in jquery with an example?
How can you use array with jquery?