I had the same problem only with internet explorer and only when I use a xml
generate with php.
Using a standard xml there are not problems.
I solved using header('Content-Type: text/xml'); as has already explained
and also adding before that instruction the command ob_clean() that remove
white
one of the biggest things to watch out for is malformed markup.
typically, firefox will be much friendlier on markup that IE refuses
to inject.
have a look at your < and /
Good tip! Another reason to use JSON?
http://us2.php.net/json_encode
On Oct 5, 10:43 am, Mantas <[EMAIL PROTECTED]> wrote:
> try to right:
> header('Content-Type: text/xml');
> in your php file.
> I had the same problem with IE and then i've remembered this "magic"
> line, it solved my problem
try to right:
header('Content-Type: text/xml');
in your php file.
I had the same problem with IE and then i've remembered this "magic"
line, it solved my problem
On 30 Rugs, 20:33, "kelvin pompey" <[EMAIL PROTECTED]> wrote:
> I tried the code without ajax. It works in firefox but not in ie. I mod
I tried the code without ajax. It works in firefox but not in ie. I modelled
my code on this example from the sitepoint jquery ajax tutorial.
AJAX with jQuery Example
$(document).ready(function(){
timestamp = 0;
updateMsg();
$("form#chatform").submit(function(){
$.post("backend.php",{
message:
I'm a little concerned by this line:
client = $("client",data).get(id);
I'd recommend putting a "var" in front so that you have a local, not a
global, variable.
It also seems to me like $("client",data).get(id) is equivalent to
'this' inside the each.
so instead of: client = $("client",data).get
6 matches
Mail list logo