JQuery Array Size
From w3cyberlearnings
Contents |
jQuery Find Array Size or Length
Uses length() function to find an array size or length.
Syntax $.length()
Array.length();
Example 1
$(document).ready(function() { var myList = [3,4,5,23,4,51]; alert(myList.length); });
Output
6