06/09/2007, 14:41
|
| | Fecha de Ingreso: agosto-2005
Mensajes: 10
Antigüedad: 19 años, 5 meses Puntos: 0 | |
Cómo filtrar las variables A y B? var valor=document.getElementById("A").options[document.getElementById("A").selectedIndex].value;
if(valor==0) {
combo=document.getElementById("B");
combo.length=0;
var nuevaOpcion=document.createElement("option");
nuevaOpcion.value=0;
nuevaOpcion.innerHTML="Selecciona Letra...";
combo.appendChild(nuevaOpcion);
combo.disabled=true;
Alguien sabe? |