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 can you get the type of arguments passed to a function?
Explain some of the key concepts of good code organization patterns.
How can we apply css in even childs of parent node using jquery library?
Explain the script build up by jquery?
What is eq()? : jquery mobile
What is the difference between bind() and live() function in jquery?
Why is jquery better than javascript?
Is jquery is json library file or a javascript?
How can you apply a style on an element using jQuery?
Name some of the methods of jquery used to provide effects?
Difference between parent() and parents() in jQuery?
Why should I use jquery?
What are the different ways of using $.connect function in jquery?
Explain why there are two different version of jquery library? : jquery mobile
How to control page titles in jquery mobile? : jquery mobile