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
How to create, read and delete cookies with jquery?
What is the use of delegate() method in jquery?
Why is only the first page of multi page document loaded? : jquery mobile
What are the differences between size and length in jquery?
Can you please explain the difference between body onload() and document.ready() function? : jquery mobile
What does dollar sign ($) means in jquery? : jquery mobile
What are selectors in jquery? Explain
How to read, write and delete cookies in jquery?
Is Uncaught TypeError: $(…).modal not a function jquery?
What is the difference between prop and attr?
Explain deferred and promise object in jquery? : jquery mobile
With jquery which operating system is more compatible?
Is jquery a library for client scripting or server scripting? : jquery mobile
Differentiate between jquery.size and jquery.length? : jQuery Mobile
What are features of jquery or what can be done using jquery?