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 eq() and get() methods in jQuery?



What is the difference between eq() and get() methods in jQuery?..

Answer / chaitanya

eq() returns the element as a jQuery object. This method constructs a new jQuery object from one element within that set and returns it. That means that you can use jQuery functions on it.

get() return a DOM element. The method retrieve the DOM elements matched by the jQuery object. But as it is a DOM element and it is not a jQuery-wrapped object. So jQuery functions can't be used. Find out more here.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Explain animate function in jquery?

0 Answers  


What is the difference between event.stopPropagation and event.stopImmediatePropagation?

1 Answers  


Explain source maps in jquery? : jquery mobile

0 Answers  


How to run an event handler only once in jQuery?

0 Answers  


What is event.PreventDefault in jQuery?

0 Answers  


How to keep the submit text from showing with jquery mobile? : jquery mobile

0 Answers  


How does jquery store data related to an element?

0 Answers  


Tell me is jquery a library for client scripting or server scripting? : jquery mobile

0 Answers  


What is the difference between find and children methods in jquery?

0 Answers  


Why is only the first page of multi page document loaded? : jquery mobile

0 Answers  


What is the latest version of jquery?

0 Answers  


What is chaining in jQuery?

1 Answers  


Categories