Tema: combo
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/12/2007, 16:33
Anzud
 
Fecha de Ingreso: febrero-2007
Ubicación: Barcelona
Mensajes: 35
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: combo

A un combobox

Le he puesto un script que lo resetea y vuelve a poner el numero correcto pero no se porque no funciona en Firefox.

Código HTML:
<html>
<head>
<script type="text/javascript">
function formReset(){
document.getElementById("myForm").reset();
}
</script>
</head>

<body onload="formReset()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><form id="myForm" action=""><select name="select" onchange="window.open(this.value, '_parent')">
      <option value="1.htm">1</option>
      <option value="2.htm">2</option>
          </select>
           </form>
   </td>
  </tr>
</table>
</body>
</html>