var query = ODATA QUERY
jQuery.ajax({ dataType: 'jsonp', url: query, jsonpCallback: 'callback', success: callback, ajaxError : errore }); function callback(result) { } function errore() {console.log("errore"); }
but if the query fails i get an errore in console (NetworkError: 400 Bad Request) but does not enter in the error function. Why?