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
Jumping off of jquery ui for a second, do you 'release early, release often' with all of your projects? What are your thoughts on that strategy?
Explain the basic need to start with jquery? : jquery mobile
What is the difference between "#" and "." selector in JQuery?
Explain finish method in jquery? : jquery mobile
Which program is useful for testing jQuery?
What is jquery.holdready() function?
Why is not dom ready working for jquery mobile? : jquery mobile
How to use transition effects? : jQuery Mobile
How we can check if an element is empty or not using jquery?
How to use css() in jquery?
How we can remove an attribute of an html tag in jquery?
Explain remove class jquery with example?
Can you please explain the difference between prop and attr? : jquery mobile
Please explain remove class jquery with example?
Explain deferred and promise object in jquery? : jquery mobile