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 |
How to get the value of selected option in jquery?
How can you select all elements in a page using jquery?
Why do we use jquery? : jquery mobile
Explain the animate function.
What is the difference between bind() and live() function in jquery?
What is a filter in jquery? Explain
Can you give me a brief history of your programming days? Where did it all start?
Why is only the first page of multi page document loaded? : jquery mobile
How can I select 20th div with jquery?
What is jQuery.noConflict?
Differentiate among .empty() vs .remove() vs .detach() in jquery.
What is meant by the term ‘theming’ in jquery mobile? : jQuery Mobile