Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/07/2004, 20:53
Avatar de BooMeranGz
BooMeranGz
 
Fecha de Ingreso: febrero-2001
Mensajes: 350
Antigüedad: 24 años, 2 meses
Puntos: 0
Lástima, no me funciona o estoy haciendo algo mal, esto es lo que tengo:
Código HTML:
<form name="form" method="post" action="xxxxxxxx.php">
<!-- esto si funciona -->
 <input name="pr_term" type="text" id="pr_term" size="3" maxlength="3" onChange="document.getElementById('res_pr_term').innerHTML=this.value">
<!-- esto no funciona -->
 <select name="pr_time" size="1" id="pr_time" onChange="document.getElementById('res_pr_time').innerHTML=this.options[this.selectedIndex].value;">
  <option>Day</option>
  <option>Days</option>
  <option>Month</option>
  <option selected>Months</option>
  <option>Year</option>
  <option>Years</option>
</select>
</form> 
Total 
<span id="res_pr_term"></span> 
&nbsp;-&nbsp; 
<span id="res_pr_time"></span> 
Seguramente tu podrás detectar el error, igualmente gracias por tu ayuda

Salu2.