views:

79

answers:

0

I am trying to develop an AIR app, and I use $.get in some cases to obtain necessary data from the server. However, any AJAX request made with jQuery won't trigger my error callbacks. I currently have something very simple (I kept it as simple as possible to make sure it wasn't any of my code that was causing the problem):

$.ajaxSetup({
    error: function(x, e){
        alert('A problem occured processing the request.');
    }
});

This works in any browser, but not in my AIR app. I am using AIR 1.5 with jQuery 1.3.2. Am I doing something wrong? This shouldn't just not work.

related questions