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
What is the difference between the id selector and class selector in jquery?
Difference Between Prop and Attr in jQuery?
What is jquery connect and how to use it?
What is a cdn? : jQuery Mobile
Explain the script build up by jquery?
What is a jquery ?
And finally, if you could give one tip to any new budding jquery ui developers, what would it be?
Can jquery be used to make an ajax request?
Whether our own specific characters are used in place of $ in jQuery?
Explain the concepts of "$ function" in jquery with an example?
Explain the difference between body onload() and document.ready() function? : jquery mobile
What is the starting point of code execution in jquery?
How to redirect to another page using jquery?
How to find grand children in of an element?
How can we apply css in div using jquery?