I would like to use success
and run function only if has 200 status code
I have see only this example:
$.ajax ({
success: function(data,textStatus,jqXHR){
external();
}
)};
But i never see a really code example i would like the if status code is 200 is run an external function
P.S. before i tried to use easy success (without arguments) and error, but error worked also if the external file was ok..
Sorry for my english