G
g
Hi,
I would like to step through all the key-value pairs in an associative
array. I'm trying:
for (var i=0 in hashOfItems) { // go through all keys in the hash
hashOfItems
// do sth
}
which works fine in Internet Explorer but does not seem to be
recognised in Netscape Navigator. What is the right way to write this?
Thanks,
Gina
I would like to step through all the key-value pairs in an associative
array. I'm trying:
for (var i=0 in hashOfItems) { // go through all keys in the hash
hashOfItems
// do sth
}
which works fine in Internet Explorer but does not seem to be
recognised in Netscape Navigator. What is the right way to write this?
Thanks,
Gina