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 jquery.size() and jquery.length?



What is the difference between jquery.size() and jquery.length?..

Answer / chaitanya

jQuery .size() method returns number of element in the object. But it is not preferred to use the size() method as jQuery provide .length property and which does the same thing. But the .length property is preferred because it does not have the overhead of a function call.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Explain the difference between jquery.size() and jquery.length?

0 Answers  


What is difference between $(this) and ‘this’ in jquery?

0 Answers  


How do you stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements?

1 Answers  


Explain the basic need to start with jquery? : jquery mobile

0 Answers  


How to multiple version of jQuery?

0 Answers  


What are the differences between size and length in jquery?

0 Answers  


What are selectors in jquery? : jQuery Mobile

0 Answers  


What are the different ways of using $.connect function in jquery?

0 Answers  


Explain the difference between .empty() and .remove() ?

0 Answers  


How do you attach a event to element which should be executed only once?

1 Answers  


How can we apply css in odd childs of parent node using jquery library?

0 Answers  


Is it possible to get value of multiple CSS properties in single statement?

1 Answers  


Categories