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?

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


Please Help Members By Posting Answers For Below Questions

How can you get the type of arguments passed to a function?

822


Explain some of the key concepts of good code organization patterns.

813


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

874


Explain the script build up by jquery?

9314


What is eq()? : jquery mobile

901


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

832


Why is jquery better than javascript?

957


Is jquery is json library file or a javascript?

793


How can you apply a style on an element using jQuery?

867


Name some of the methods of jquery used to provide effects?

791


Difference between parent() and parents() in jQuery?

863


Why should I use jquery?

829


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

803


Explain why there are two different version of jquery library? : jquery mobile

822


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

760