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 |
Explain jquery.noconflict? : jquery mobile
Difference between parent() and parents() in jQuery?
Explain .bind() vs .live() vs .delegate() vs .on()
Tell me how to write browser specific code using jquery? : jquery mobile
Define data paremeter of jquery ajax method?
What is jquery.size()? : jquery mobile
Explain the difference between jquery-x.x.x.js and jquery.x.x.x min.js?
Why we use chaining in jquery?
What are the paremeter of jquery ajax method?
Explain remove class jquery with example?
What is a cdn? : jQuery Mobile
What is jquery.noconflict? Explain