jq ajax 是 很容易写 error 方法 若是是 post 就不知道怎么写了ajax
例子: $.post(postUrl, params, callback, "json").error(function() { showError("未知错误"); setBtnStatus(true, "submitBtn"); });