JQuery Developer Question:

Download Job Interview Questions and Answers PDF

Can you please explain the difference between jquery.size() and jquery.length?

JQuery Developer Interview Question
JQuery Developer Interview Question

Answer:

Jquery.size() and jquery.length both returns the number of element found in the object. But, jquery.length is faster than jquery.size() because size() is a method but length is a property.

Download JQuery Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of jquery .each() function?Can you please explain the difference between jQuery-x.x.x.js and jQuery.x.x.x min.js?