Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/08/2006, 03:26
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
Prueba a hacerlo así:

pepe=new Option('<?php echo $_GET['npatient']; ?>','<?php echo $_GET['patient_id']; ?>');
document.form1.patient_id.options[document.form1.patient_id.options.length]=pepe;

Es fundamental para que funcione que la variable se llame pepe
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.