[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!!
Advertisement

No <script> tag with IE!!

Moderators: Calcifer, slothy

No <script> tag with IE!!

Postby matchenul » Mon Sep 10, 2007 10:05 am

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
matchenul
 
Posts: 8
Joined: Wed Sep 05, 2007 2:41 pm

Postby Batalf » Mon Sep 10, 2007 2:46 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby matchenul » Mon Sep 10, 2007 9:47 pm

matchenul
 
Posts: 8
Joined: Wed Sep 05, 2007 2:41 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 31 guests

cron