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
What does dollar sign ($) me in jquery?
What are the difference between empty(), remove() and detach() functions in jquery?
What are the four parameters used for jQuery Ajax method?
What is the difference between jquery and javascript?
How to set jquery mobile responsive table width to 100% width despite css styles? : jquery mobile
Tell me how to check data type of any variable in jquery? : jquery mobile
How do you install/use jquery in a project.
Tell me does jquery 2.0 supports ie? : jquery mobile
How you get server response from an ajax request using jquery?
List a few features of jquery mobile? : jQuery Mobile
What is jquery and what are the advantages?
How To Use Ajax In Jquery?
Is jquery html() method works for both html and xml documents?
What is the use of serialize method in jQuery?
How to select all elements using jQuery?