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 is each() function in jQuery? How do you use it?
How to give face effect in jquery?
What is the difference between find and children methods?
Explain the difference between .empty() and .remove() ?
How we can hide a block of html code on a button click using jquery?
What is jquery.size()? : jquery mobile
What is $() in jquery library?
How to increase cursor size in html body using jquery?
Why jQuery is needed?
How do you select an item using css class or id and get the value by use of jquery.
How can we include jQuery library in ASP.Net project?
How can I select 20th div with jquery?
How can we apply css in div using jquery?
How we can set the html contents of an element in jquery?
With jquery which operating system is more compatible?