0

I am not able to capture the error http 404. This is my code:

$.ajax({
       type: 'GET',
        url: url,
        async: false,
        jsonpCallback: 'callback_123',
        contentType: "application/json",
        dataType: 'jsonp',
        success: function(json) {
                ....
        } ,
        error: function(e) {
          console.log(e);          
        },

Somebody can help me?

user880386
  • 2,737
  • 7
  • 33
  • 41

0 Answers0