欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

jquery提交form表單簡單示例分享

 更新時(shí)間:2014年03月03日 16:20:23   作者:  
這篇文章主要介紹了jquery提交form表單示例,需要的朋友可以參考下

復(fù)制代碼 代碼如下:

$.ajax({
  url : 'deliveryWarrant/update.do',
  data : $('#myform').serialize(),
  type : "POST",
  success : function(data) {
    var res = eval('(' + data + ')');
    if (res && res.success == true) { 
      alert(res.message);
    location.href="/form.php?godownWarrant.code="+$("#myform input[name=godownWarrant\\.code]").val();
    } else {
      alert(res.message);
    }
  }
});

相關(guān)文章

最新評論