Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/01/2007, 01:28
trovadicto21
 
Fecha de Ingreso: marzo-2004
Ubicación: Tijuana, B.C.
Mensajes: 66
Antigüedad: 20 años
Puntos: 0
ComboBox y TextInput

Les gane jejeje.

Ya encontre la solucion a mi problema, era unicamente agregando un Listener al Combo para que al cambiar hiciera la accion, a su vez hice un switch para que tomara las variables y me deshabilitara o desapareciera el textField.

Les dejo el codigo por si les interesa. Un saludo a todos.

Código:
selectMenu = new Object();
selectMenu.change = function(evento) {
	switch (evento.target.value) {
	case 0 :
		theOpcion.visible = false;
		break;
	case "Ilimitado MEX/USA/CAN" :
		theOpcion.visible = false;
		break;
	case "Toll Free 1800" :
		theOpcion.visible = false;
		break;
	case "Mundial 36" :
		theOpcion.visible = false;
		break;
	case "Mundial 23" :
		theOpcion.visible = false;
		break;
	case "Ilimitado USA & CAN" :
		theOpcion.visible = false;
		break;
	case "Basico 500" :
		theOpcion.visible = false;
		break;
	case "Otro" :
		theOpcion.visible = true;
		break;
	}
};
thePlan.addEventListener("change", selectMenu);
__________________
Que les Llueva Luz a todos!!