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
List browser related issues for jquery?
What are the the two types of cdns?
Explain .empty() vs .remove() vs .detach().
What is the minimum setup needed to start using jquery.
Which version of jquery file should be used?
Explain each() function in jquery?
Why we use chaining in jquery?
What are the advantages of method chaining in jquery?
What is event preventdefault () and event stoppropagation () in jquery?
What is the use of serialize method in jQuery?
What is method chaining in jquery and what are the advantages?
Tell me what does dollar sign ($) means in jquery? : jquery mobile
How can we apply css in last child of parent using jquery library?
Explain event.preventdefault? : jquery mobile
Tell me how to write browser specific code using jquery? : jquery mobile