jquery ajax 提交表单大数据





 <input type="button" class="btn-50" value="保存" id="saveBtn" style="cursor: pointer;"/>

    $("#saveBtn").click(function() {
          jQuery.post("insertOrUpdatePo.ugo",$("#submitform").serialize(),function(jsonobj){
              if(jsonobj.msg=="ok"){
                  alert("操作成功,点确定关闭本窗口");
                  self.opener.location.reload();
                   window.close();
              }else{
                  alert("操作失败了:" + jsonobj.msg);
              }
        },"json");
    });

猜你喜欢

转载自wentao365.iteye.com/blog/1613696
今日推荐