
04/02/2005, 15:40
|
 | | | Fecha de Ingreso: junio-2003 Ubicación: Santiago - Chile
Mensajes: 635
Antigüedad: 21 años, 8 meses Puntos: 9 | |
Array 2 dimensiones Hola a todos, tengo un array de 2 dimensiones:
var Thumbnails = new Array();
Thumbnails[0] = new Array('1', 'listing_34.jpg', 'Home View');
Thumbnails[1] = new Array('2', 'sexy2.jpg', 'Sexy');
Thumbnails[2] = new Array('3', 'blue-sun-m.jpg', 'New Test');
Thumbnails[3] = new Array('4', 'viva_firefox_eats_ie.jpg', 'Firefox');
Pero cuando intento modificar un elemento:
Thumbnails[0][0] = '2';
Thumbnails[1][0] = '1';
Para dar vuelta estos valores, no funciona, alguien me puede guiar ?.
- Intente con ".value" despues el array, pero tampoco me esta funcionando. No me da ningun error de JavaScript (Firefox e IE). Solo esta fallando esta asignacion de valor.
Desde ya muchas gracias.
-- eft0.
Última edición por eft0; 04/02/2005 a las 16:44 |