插入error看ajax提交未成功的原因

 success:function (data) {
        var datas=data;
    },error:function(xhr){alert(xhr.responseText)}