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 are the popular jquery cdn? : jquery mobile
What is the need for jquery? : jQuery Mobile
How to use css() in jquery?
Define .siblings() method in jquery?
Whether our own specific characters are used in place of $ in jQuery?
How to control page titles in jquery mobile? : jquery mobile
List a few features of jquery mobile? : jQuery Mobile
Explain type paremeter of jquery ajax method?
How to select combobox select value and text using jquery?
What are features of jquery or what can be done using jquery?
Hide and show image on button click using jQuery?
What is a jquery ajax?
What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?
Jquery can be used in what scenarios?
How do you select all elements with the class of “selected” in jquery?