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 are the features of jquery
How to create, read and delete cookies with jquery?
What is the use of clone method in jQuery?
How can we add change font size using jquery?
Explain the use of jquery .each() function? : jquery mobile
How to check data type of any variable in jquery? : jquery mobile
What is the method used to define the specific character in place of $ sign?
What are the approaches of extracting a query string with regular expressions?
What is event.PreventDefault in jQuery?
How can images be made to appear scrolling one over another?
Suppose if you have a server control(asp.net server control, button) and on the click of button you want to call a jquery function, so tell me how you will call a jquery function without postback?
Define cdn in jquery?