Prototype Ajax.Updater Response OK, but not showing up in FF. working in Safari!

Posted by koko on Stack Overflow See other posts from Stack Overflow or by koko
Published on 2010-03-15T10:34:56Z Indexed on 2010/03/15 10:39 UTC
Read the original article Hit count: 267

Filed under:
|
|
|

Hi,

I've got a quite strange problem here.

I'm calling some simple code via Ajax.Updater:

new Ajax.Updater('load','http://myurl.com/demo.pl?key=demokey&param1=xyz&param2=abc',{ method:'get', onComplete:function(transport){ alert(transport.responseText) } });

which gets some code like this:

<img id="2009_04_15_1239786246" src='../pv/100/2009_04_15_1239786246-01.jpg' border="1"> <img id="2009_04_15_1239786066" src='../pv/100/2009_04_15_1239786066-01.jpg' border="1"> ... and so on

This code shows up in my firebug console as my server response, so everything should be fine. No errors here at all. Works fine in Safari.

Firefox, according to Firebug, knows there is a response, but it won't show a thing in my div 'load' and the alert(transport.responseText) is also empty.

I have no idea what could be the problem here.

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about js