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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to redirect to another page using jquery?

749


Why do we need to go for JQuery?

757


What is meant by the term ‘theming’ in jquery mobile? : jQuery Mobile

730


How you get server response from an ajax request using jquery?

761


Tell me do I need to add the jquery file both at the master page and content page as well?

723


What is .empty()? : jquery mobile

785


How to use transition effects? : jQuery Mobile

762


Back onto jquery ui' can you see jquery ui making more of an impression in the future, lead by the current successes of jquery?

778


What is jQuery connect?

762


In what scenarios jQuery can be used?

853


How to select class in jquery?

771


Is jquery still relevant 2019?

819


what are the features of jquery

768


Where jQuery code is getting executed?

859


What is method chaining in jquery and what are the advantages?

764