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 |
How JavaScript and jQuery are different?
What is the name of jquery method used for an asynchronous http request?
Whether jQuery HTML work for both HTML and XML documents?
How can jquery library be added to pages?
How to find all sibling elements in front of the current element using ?
How we can remove an attribute of an html tag in jquery?
Difference between $(this) and 'this' in jQuery?
What happen if you return false from a jQuery event handler?
Explain source maps in jquery? : jquery mobile
Can you write a code to select all links inside the paragraph?
Is there any difference between body onload() and document.ready() function?
Differentiate between jquery.size and jquery.length? : jQuery Mobile