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 |
Explain .live()? : jquery mobile
What is jquery selectors? Give some examples.
Explain jquery.noconflict? : jquery mobile
What is the use of jQuery load method?
Explain the difference between $(this) and 'this' in jquery?
How to revert the most recent ‘destructive’ operation, changing the set of matched elements to its previous state using ?
What is the name of jquery method used for an asynchronous http request?
Define each() function in jquery?
How can events be prevented from stopping to work after an ajax request?
How to check or uncheck all checkboxes using jquery?
How do you attach a event to element which should be executed only once?
Explain the use of the $.fn.bind and $.fn.trigger.