RE: [PHP] IE and AJAX returning HTML with <link stylesheet>

From: Date: Fri, 02 Dec 2005 14:37:30 +0000
Subject: RE: [PHP] IE and AJAX returning HTML with <link stylesheet>
Groups: php.general 
Request: Send a blank email to php-general+get-226769@lists.php.net to get a copy of this message
[snip] I have application that does this: When one press a specific button, I'm calling JS function that make http(ajax) request to some php file . The php returns HTML like this : ------------------------------ <link href="left.css" rel="stylesheet" type="text/css" > <p>SOME HTML HERE</p> ------------------------------ The returned HTML i placed in <div> tag. The logic is as follows: When one click on link "left", the php file returns <link> with specific CSS (left.css). If other button is clicked, the PHP returns html with other CSS linked. Everything is OK in Firefox. The problem is in IE . It appears that IE doesn't evaluate the CSS in <link> tag in returned HTML. Any suggestions? [/snip] None of this appears to be a PHP problem. Either it is an IE CSS problem (in the source is the proper CSS being called?) or it is a JavaScript problem related to AJAX.

« previous php.general (#226769) next »