JQuery Programmer Question: Download Questions PDF
What is the difference between jquery.size() and jquery.length?
![JQuery Programmer Interview Answer JQuery Programmer Interview Question](https://globalguideline.com/public/images/interview/23.png)
Answer:
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.
Download JQuery Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
Can we include multiple version of jQuery? If yes, then how they are executed? | What does $("div") will select? |