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 each() function in jquery?

0 Answers  


What are the difference between empty(), remove() and detach() functions in jquery?

0 Answers  


Explain the difference between size and length of jquery?

0 Answers  


With jquery ui 1.7 being released in the last few days, what do you see as the key parts of jquery ui 1.7? What are you most proud of out of that release?

0 Answers  


Explain the common methods of sending a request to a server.

0 Answers  


What is the difference between jquery and javascript?

0 Answers  


What are the browser related issues for jQuery?

0 Answers  


How does jquery mobile theming work? : jquery mobile

0 Answers  


What does $("P") will select?

0 Answers  


How to revert the most recent ‘destructive’ operation, changing the set of matched elements to its previous state using ?

0 Answers  


How we can get the input value of an element using jquery?

0 Answers  


Explain "beforesend(xhr)" paremeter of jquery ajax method?

0 Answers  


Categories