In Jquery Ajax How Can I show alert error message If the ajax url is not found/failed to load due to server down.
I tried
error:function(){
}
and
statusCodes:{
}
Those are working only If url is loaded successfully. If the url is failed to load how can I show error message ?
I am Using JSONP