![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
Aquí el código que tengo :
Código:
El código en rojo aparece en la consola de errores de firefox y me marca:"file is not defined ", por lo que no me carga la página pero en ie7 corre bien.//esto es del iframe <form action="" method="post" name="file" id="file" > <div align="center"> <select name="file" size="1"> <option value="default" selected>A</option> <option value="01">B</option> </select> <input type="button" name="Button" value="Filtrar" onClick="loadTutorialFile(file[file.selectedIndex].value)"> </div> </form> <p align="center"> <iframe src="dash2008.php" id="tutorialfile" width="1045px" height="600px" align="center" scrolling="yes"></iframe> //la función en javascript que carga la página en el iframe function loadTutorialFile(month) { var Ifrm = document.getElementById ? document.getElementById('tutorialfile') : document.all ? document.all('tutorialfile') : null; if (Ifrm) Ifrm.src = (file == 'default') ? 'dash2008.php' : 'dash2009'; }
No se a que se deba el error, alguien sabe?