@using (Ajax.BeginForm("BrandMethod", "CommodityManage", new AjaxOptions
{    OnSuccess = "CommentSuccess",
    OnBegin = "CommentBegin",
    HttpMethod = "POST",
    LoadingElementId = "logindiv",
    UpdateTargetId = "update",
    OnComplete = "OnComplete",
    OnFailure = "OnFailure"
}))
{
    @Html.AntiForgeryToken()
然后js代码    function CommentSuccess(e) {
        alert('成功' + e.toString());
        $(".MaskLogin").hide();
    }    function CommentBegin() {
        $(".MaskLogin").show();
    }    function OnComplete() {
        $(".MaskLogin").hide();
        alert('完成');
    }
    function OnFailure() {
        $(".MaskLogin").hide();
        alert("添加失败");    }
其中的CommentBegin方法可以执行,但是后台成功以后返回也正确了 但是始终进入不到后面的OnSuccess方法,debug抛出一个错误:去 求解是什么问题呢
Ajax.BeginForm