Saludos
![de acuerdo](http://static.forosdelweb.com/fdwtheme/images/smilies/dedosarriba.png)
| ||||
Re: Combos Independientes Bueno esta forma es un poco larga pero te puede servir codigo:
Código:
personalizar:veras todo depende de la opcion seleccionada el el primer combobox<html> <head> <script language="javascript1.2"> <!-- function LP_change(mode){ var num=mode; with(abc){ switch(num){ case 0: sel.options[0].text="opcion 1"; sel.options[1].text="opcion 2"; sel.options[2].text="opcion 3"; break; case 1: sel.options[0].text="opcion 4"; sel.options[1].text="opcion 5"; sel.options[2].text="opcion 6"; break; case 2: sel.options[0].text="opcion 7"; sel.options[1].text="opcion 8"; sel.options[2].text="opcion 9"; break; case 3: sel.options[0].text="opcion 10"; sel.options[1].text="opcion 11"; sel.options[2].text="opcion 12"; break; }} } --> </script> </head> <body> <form name="abc"> <select name="alter" onChange="LP_change(this.options.selectedIndex)"> <option>opcion 1 <option>opcion 2 <option>opcion 3 <option>opcion 4 </select><br> <select name="sel"> <option>opcion 1 <option>opcion 2 <option>opcion 3 </select> </form> </body><html> luego sustituye las opciones en el script numeradas de 1 a 12 cada tres forman un combo nuevo,los nombres de los select no deben se cambiados . |