[jQuery] Re: jquery code works with firefox but not ie.

2009-07-23 Thread jakiri
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

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-06 Thread ajpiano
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 /

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-06 Thread Eric
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

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-05 Thread Mantas
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

[jQuery] Re: jquery code works with firefox but not ie.

2008-09-30 Thread kelvin pompey
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:

[jQuery] Re: jquery code works with firefox but not ie.

2008-09-30 Thread Eric
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