
30/08/2006, 03:26
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 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. |