In data giovedì 11 novembre 2010 12:25:55, Federico Di Gregorio ha scritto:
> Se si chiamano tutti così (arr1, arr2, etc.)
> 
> var n = 1;
> var a = window["arr"+n];
> while (a) {
>     for (var j=0 ; j < a.length ; j++) {
>         // Tuo codice qui.
>     }
>     a = window["arr"+(++n)];
> }

sei un grande... grazie, non riuscivo a trovare un criterio di ricerca 
corretta su google, avevo capito che avrei dovuto trattarlo come un oggetto, 
invece avrei dovuto trattarlo come un attributo dell'oggetto window...

Byez
-- 
Gollum1

Tesssssoro, dov'é il mio tesssssoro...


--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Rispondere a