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?



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

Post New Answer

More jQuery Interview Questions

Mac, windows or linux? Why do you love this platform while using jquery?

0 Answers  


How to use css() in jquery?

0 Answers  


What are features of jquery or what can be done using jquery?

0 Answers  


What is CDN?

0 Answers  


Whether C# code behind can be called from jQuery?

0 Answers  


Name 3 available jquery plugins that bootstrap has in their query plugin library.

0 Answers  


How do you disable or enable a form element?

0 Answers  


Explain type paremeter of jquery ajax method?

0 Answers  


How can jquery library be added to pages?

0 Answers  


How is body onload() function is different from document.ready() function used in jquery?

0 Answers  


What is jQuery code to select all links in first paragraph?

0 Answers  


How to find all sibling elements in front of the current element using ?

0 Answers  


Categories