On 8/13/07, bleen <[EMAIL PROTECTED]> wrote:

> foreach( options as option){
>   do stuff
> }
>
>
If this were PHP, I'd agree with you. But the JavaScript syntax is:

for(var option in options) {
    // option is a key in options
    // options[option] is a value in options
}

-- 
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com

Reply via email to