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 |
Explain the difference between jquery.size() and jquery.length?
What is difference between $(this) and ‘this’ in jquery?
How do you stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements?
Explain the basic need to start with jquery? : jquery mobile
How to multiple version of jQuery?
What are the differences between size and length in jquery?
What are selectors in jquery? : jQuery Mobile
What are the different ways of using $.connect function in jquery?
Explain the difference between .empty() and .remove() ?
How do you attach a event to element which should be executed only once?
How can we apply css in odd childs of parent node using jquery library?
Is it possible to get value of multiple CSS properties in single statement?