Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between $('div') and $('<div/>') in jQuery?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some features of jquery knockout?

769


What are selectors in jquery? Explain

814


Difference between event.PreventDefault and event.stopPropagation?

853


Explain each() function in jquery?

5323


What is the need for jquery? : jQuery Mobile

868


Is jQuery is a JavaScript or JSON library file?

859


Explain the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

733


Is it too early to discuss jquery ui 1.8?

858


How do you update ajax response with id " resilts"?

846


What is the use of jQuery load method?

838


How to use jquery?

858


Write a code for the implementation of a module pattern.

799


Have any of your startup projects failed dismally - if so, why and how did you learn from them?

805


Explain .empty() vs .remove() vs .detach() in jquery

737


Tell me how to use migrate jquery plugin if possible? : jquery mobile

766