No <script> tag with IE!!
Posted: Mon Sep 10, 2007 10:05 am
I use a modal dialog with a form login into an intranet. I send the form like this:
var formObj = new DHTMLSuite.form({ formRef:'myForm',action:'form_login.php',responseEl:'response'});
In login.php, if the password is bad, I do:
echo "invalid password";
If all is OK, I wanted to do:
echo "<script language='javascript'> closeMessage() </script>";
It works with firefox and all is bad with IE.
In firefox, the script is executed correctly, in IE, the "echo" is not returned in the div "response"!! (the script tag is not returned)
If someone anderstand what I want to explain, please help me!
thanks
JC