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 |
Define slidetoggle() effect?
Differentiate between calling stop (true, true) and finish method?
What is cdn? Explain
Which sign is used as a shortcut for jQuery?
How to include jquery library in asp.net project?
Explain .siblings() method in jquery?
What is the use of jQuery.data() method?
Different ways of using $.connect function in jquery?
What does dollar sign ($) means in jQuery?
What are the methods used to provide effects in jquery?
What is the difference between .js and .min.js?
What is a jquery library?