Answer: .size() method of jquery returns number of element in the object. That means that you can count the number of elements within an object.
For example :-
$(document).ready(function(){
var Count = $("div").size();
alert(Count);
});
Thanks and Regards
Akiii
|
Alert Moderator