views:

417

answers:

1

I'm working on a firefox extension and have been developing it in firefox 3, i went to test it on firefox 2 and for some reason none of my HTTP requests are firing. The format of the requests are below (using prototype):

theResponse = function(response){
//some code
}

new Ajax.Request(url,{
method:'get',
parameters : {url: currentURL},
onSuccess: theResponse,
onFailure: function(){ alert('Something went wrong...') }
});

I have been trying to find a solution but the closest thing i've found is somthing to do with cross site HTTPrequests, anyone have any ideas?

+1  A: 

Figured out the problem was to do with the way prototype performs HTTPrequests, switched to using jquery and no further problems ... well with HTTPrequests anyway.