`

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");
    });
  • 大小: 14.6 KB
分享到:
评论
1 楼 ganbin_java 2012-08-27  
好嗯  做法和我们的就是不一样

相关推荐

Global site tag (gtag.js) - Google Analytics