Considering that I don't have a callback method defined before and the following code:
jQuery.ajax({
url: 'url',
type: 'GET',
data: {},
dataType: 'jsonp',
crossDomain: true,
jsonpCallback: callback,
async: true,
success: function ( pData ) {
//process success
},
error: function (jqXHR, textStatus, errorThrown) {
//Log error
}
});
The jQuery is handling the ajax Events ( success/error ) properly, with no error. Why jQuery are doing that if in the API documentation is saying they can't do that? And sometimes I get parserror, but I'm always returning the same content as JSON.
Has anyone experienced this?