[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - No <script> tag with IE!!
Page 1 of 1

No <script> tag with IE!!

PostPosted: Mon Sep 10, 2007 10:05 am
by matchenul
Hi,
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

PostPosted: Mon Sep 10, 2007 2:46 pm
by Batalf

PostPosted: Mon Sep 10, 2007 9:47 pm
by matchenul