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

What is the difference between onclick and onsubmit?

0 Answers  


Explain the each() function?

0 Answers  


How do I pull a native DOM element from a jQuery object?

0 Answers   MCN Solutions,


explain width() vs css(‘width’) in jquery

0 Answers  


Difference between detach and remove? : jQuery Mobile

0 Answers  


How to add a class to html element?

0 Answers  


What is the difference between bind() and live() function in jquery?

0 Answers  


What is the difference between $(this) and 'this' in jquery?

0 Answers  


Can you use any other name in place of $ (dollar sign) in jQuery?

0 Answers  


How to find all sibling elements in front of the current element using ?

0 Answers  


What is .siblings() method in jquery?

0 Answers  


What is queue() in jquery?

0 Answers  


Categories