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
Difference between event.PreventDefault and event.stopPropagation?
How do you update ajax response with id " resilts"?
What is jquery toggle function?
What is a jquery ?
JQuery or JavaScript which is quicker in execution?
How to load a page using jquery mobile? : jquery mobile
Is window.onload is different from document.ready()?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
What is jquery selectors? Give some examples.
How we can get the input value of an element using jquery?
What is the use of val() method in jquery?
Explain the difference between javascript and jquery? : jquery mobile
What are selectors in jquery?
Mention some advantages of jquery.
Define type paremeter of jquery ajax method?