What is the difference between $('div') and $('<div/>') in jQuery?
Answer / chaitanya
$('<div/>') : This creates a new div element. However this is not added to DOM tree unless you don't append it to any DOM element.
$('div') : This selects all the div element present on the page.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the use of param() method in jquery .
Differentiate between width() vs css(‘width’) in jquery
What is difference between onload and ready?
Difference between document.ready and window.onload? : jQuery Mobile
How to set attributes of an element using jquery?
Mac, windows or linux? Why do you love this platform while using jquery?
When can jquery be used?
What is the use of clone method in jQuery?
How to check or uncheck all checkboxes using jquery?
Explain the difference between size and length of jquery?
Which is the fastest selector in jQuery?
Explain remove class jquery with example?