
23/01/2004, 11:04
|
 | Colaborador | | Fecha de Ingreso: octubre-2003 Ubicación: self.location.href
Mensajes: 2.665
Antigüedad: 21 años, 4 meses Puntos: 45 | |
Puedes pasar la matriz de esta manera tan sencilla:
function DJS_showArray(matriz) {
for(var i = 0; i < matriz.length; i++) {
alert(matriz[i]);
}
}
miMatriz=["uno","dos","tres","cuatro"];
DJS_showArray(miMatriz);
Asi simplemente con el nombre.
__________________ - Haz preguntas inteligentes, y obtendrás más y mejores respuestas.
- Antes de postearlo Inténtalo y Búscalo.
- Escribe correctamente tus mensajes. |