Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] associative arrays question


  • From: javascript@xxxxxxxxxx (Christopher Basken)
  • Subject: [Javascript] associative arrays question
  • Date: Sat, 27 Apr 2002 10:44:05 -0400

At 05:21 PM 4/26/2002 -0600, you wrote:
>Use the for ... in construction, like this:
>
>for (var strCurrentKey in theirScore) {
>         alert(theirScore[strCurrentKey]);
>}
>
>Also works for looping through object properties :)  HTH.
>
>Amanda Birmingham
>Web Application Developer


Thanks!  That did the trick.