What is the use of .size() method in jquery?



What is the use of .size() method in jquery?..

Answer / Abhishek Kumar Kashyap

The .size() method in jQuery returns the number of matched elements. However, it's worth noting that as of jQuery 1.8, the .size() method has been replaced with .length, which provides the same functionality but is more efficient.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

What are the features of jQuery, has been used in web applications?

1 Answers  


Explain the animate function.

1 Answers  


Can we use our own specific character in the place of $ sign in jQuery?

1 Answers  


Explain the difference between parent() and parents() methods in jquery? : jquery mobile

1 Answers  


What are jquery plugins?

1 Answers  


Why do we use jquery? : jquery mobile

1 Answers  


How can we apply css in odd childs of parent node using jquery library?

1 Answers  


Explain each() function in jquery?

1 Answers  


Why do we need to go for JQuery?

1 Answers  


What are the difference between empty(), remove() and detach() functions in jquery?

1 Answers  


When can you use jquery?

1 Answers  


Define cdn in jquery?

1 Answers  


Categories