javascript associative array length using jquery
- by Prashant
Hello All
I am using javascript associative array like:
var testarray = [];
testarray['one'] = '1';
testarray['two'] = '2';
testarray['three'] = '3';
I am also using jquery alongside. How can I check length of this associative array using jquery or any other method? Basically i want to check whether this array is empty or not.
Thank you.