Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/11/2010, 10:50
jevymetal69
 
Fecha de Ingreso: marzo-2004
Mensajes: 35
Antigüedad: 20 años, 1 mes
Puntos: 0
Respuesta: Llamada XML con AJAX

Efectivamente así funciona:
Os lo pongo:
for (var i=0; i < myNodeList.length; i++) {
option = document.createElement("option");
if(myNodeList[i] && myNodeList[i].firstChild) {
option.appendChild(document.createTextNode(myNodeL ist[i].firstChild.nodeValue));
} else {
option.appendChild(document.createTextNode('&nbsp; '));
}
versionList.appendChild(option);
}
Verifica si existe en el if...

Un saludo y muchísimas gracas...