jquery post请求网络的参数$.post(url,param,success,type);

通过参数看到,并没有对异常的捕获以及错误的处理。

通过各路大神的提示,发现jQuery已经做了处理,处理的方式如下:

$.post(url,param,success,type).error(function(){//处理});