Prototype's Ajax.Request not working in Chrome
- by Jason
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... ?