$.ajax({ type: "get", url: "http://url/r/proverka.html?r="+u, success: файл есть; error:файла нет; } } ); 
  • jsonp is an unusual ajax, - zb '

1 answer 1

Excerpt from the documentation:

 $.ajax({ statusCode: { 404: function() { alert( "page not found" ); } } });