Prototype's Ajax.Request not working in Chrome

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-04-03T22:50:43Z Indexed on 2010/04/03 22:53 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

I am just doing a simple Ajax.Request call using the newest version of Prototype. It works fine in Firefox, Internet Explorer, and even Safari... but not in Chrome. Here is my code...

alert(url); new Ajax.Request(url, { method: 'get', onSuccess: function(transport) { alert('test'); } });

It pops up he URL alert but the test alert never comes up. Like I said it does in every other browser. I am not getting any javascript errors and I have used Firebug. I did a console.log on each event and it gets to the onLoading stage of Ajax.Request but never onLoaded.

Very confused... ?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype