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

Difference between document.ready and window.onload? : jQuery Mobile

886


What is queue() in jquery?

878


What is cdn and how jquery is related to it?

803


How can we add change font size using jquery?

824


What is $() in jquery library?

872


What is jquery.noconflict? Explain

818


How can related code be encapsulated?

855


What is the difference between the knockout and jquery?

812


What is called chaining?

841


What are the advantage of using minimized version of jquery?

791


Is jquery is json library file or a javascript?

804


What are the advantages of using cdn?

820


How to search for descendant elements that match the specified selectors using ?

784


Is jQuery is a client or server scripting?

858


Explain .on()? : jquery mobile

822