I'm using dwr to handle ajax calls to a java backend, I'm returning a Map in java, and I need to know its size in javascript when it returns in a callback function. Is there a way to do that?
Asked
Active
Viewed 1,142 times
0
-
Could you post some (JS) code? – Cristian Sanchez Sep 27 '10 at 22:03
1 Answers
1
You basically need to know how to determine the size of a javascript associative array, because this is what dwr returns in this case. This is explained, of course, on Stack Overflow: Length of a JavaScript object

Community
- 1
- 1

Victor Ionescu
- 1,967
- 2
- 21
- 24