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 |
Does jQuery 2.0 supports IE?
How do you stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements?
What is serialize() in jquery?
Can you write a code to select all links inside the paragraph?
Tell me what does $("div") will select? : jquery mobile
What are selectors in jquery? : jQuery Mobile
differentiate between bind() vs live() vs delegate() methods in jquery.
Can we have multiple document.ready() function on the same page?
How do you get the text value of a selected option?
Tell me how to write browser specific code using jquery? : jquery mobile
What methods used to provide effects?
Explain some features of jquery knockout?