Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/08/2006, 21:38
Avatar de jpogsistem
jpogsistem
 
Fecha de Ingreso: diciembre-2001
Mensajes: 2.405
Antigüedad: 22 años, 5 meses
Puntos: 4
Paso Parametros, Falla en Internet Explorer

Que tal Masters,

Sucede que este code hace lo que necesito (Cargar en un list un valor que le paso).

Funciona en Firefox pero en Iexplorer me saca este error :

Linea: 10
car: 1
Error: El Objeto no acepta esta acción
Código : 0




Código PHP:
<script language="javascript">
function loadAndExit(){
with(window.opener)
{
document.form1.patient_id.options[document.form1.patient_id.options.length]=new Option('<?php echo $_GET['npatient']; ?>','<?php echo $_GET['patient_id']; ?>');
document.form1.patient_id.options[document.form1.patient_id.options.length-1].selected=true;
}
self.close();
}
</script>

Y la Línea en Cuestión es esta exactamente :

Código PHP:
document.form1.patient_id.options[document.form1.patient_id.options.length]=new Option('<?php echo $_GET['npatient']; ?>','<?php echo $_GET['patient_id']; ?>');
Saben por qué falla en Iexplorer ? Cual será la solución ?

Muchas Gracias. Saludos.
__________________
EL LIMITE ES EL UNIVERSO