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

How do you check if an element is empty?

1 Answers  


Define bind() and unbind elements in jQuery?

0 Answers  


How you will use jquery means requirement needed for using jquery.

0 Answers  


What are the difference between alert() and confirm()?

0 Answers  


How to control page titles in jquery mobile? : jquery mobile

0 Answers  


What is jQuery UI?

2 Answers  


Hide and show image on button click using jQuery?

0 Answers  


How can jquery library be added to pages?

0 Answers  


Tell me what is the use of .size() method in jquery?

0 Answers  


Tell me how to check if number is numeric while using jquery 1.7+? : jquery mobile

0 Answers  


What is the use of each function in jQuery?

0 Answers  


How JavaScript and jQuery are different?

1 Answers  


Categories