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
Can you give me a brief history of your programming days? Where did it all start?
How to load a page using jquery mobile? : jquery mobile
What are the types of selectors that are used in jquery? Give examples.
Explain cdn? : jquery mobile
Can JQuery Run on MAC or Linux instead of Windows?
Tell me is jquery a library for client scripting or server scripting? : jquery mobile
Define "beforesend(xhr)" paremeter of jquery ajax method?
Explain the features of jquery mobile? : jquery mobile
Why is the block display style used for animations?
With jquery which operating system is more compatible?
How to submit a form without submit button using jquery?
What are the advantages of minified version of jquery?
What is jQuery CDN?
What are the browser related issues for jQuery?
How to multiple AJAX requests be run simultaneously in jQuery?