Thanks very much, that makes a lot of sense now.

I found that array looping method online, I guess I will remove that
page from my bookmarks.

Thanks for setting me right :)

On 1 Aug, 11:47, "T.J. Crowder" <[email protected]> wrote:
> Hi,
>
> `for..in` is not for looping through the indexes of an array, it's for
> looping through the property names of an object. More in the API docs:
>
> http://api.prototypejs.org/language/array/
>
> ...and in the unofficial wiki:
>
> http://proto-scripty.wikidot.com/prototype:tip-looping-through-arrays
>
> HTH,
> --
> T.J. Crowder
> Independent Software Consultant
> tj / crowder software / comwww.crowdersoftware.com

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to