![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/09/2009, 12:18
|
![Avatar de Adler](http://static.forosdelweb.com/customavatars/avatar163014_6.gif) | Colaborador | | Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 18 años, 1 mes Puntos: 126 | |
Respuesta: Funcion muy extraña (SELECT && TEXT) Hola
Me ha costado encontrar las líneas de código en rojo.
Cambia esto
if (edad <=8)&&(document.form1.categoria.value.selectedIndex=="S8"){
por esto
if (edad <=8)&&(document.form1.categoria.options[document.form1.categoria.selectedIndex].value=="S8"){
Suerte
__________________ Los formularios se envían/validan con un botón Submit <input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" /> |