第一種方式:提交按鈕按鈕
<form action =“ mydemand” method =“ post”> <span> < /span> <input name =“關鍵字” type =“ text =” text =“ text”值=“@keywords” /> <input type type type type =“ cistib
$:$(“#dataform”)。 ajaxsubmit()提交
<表單id =“ dataForm” action =“ updateUserInfo” enctype =“倍數/form-data”方法=“ value =“@model.nvc_name”/> </> </td> </tr> <tr> <td colspan =“ 2” align =“ center”> <input type =“ button =” button'value =“ id =” id =“ btnsubmit”/> </> </> </> </> </td> </td> </tr> </tr> </tr> src =“ http://code.jquery.com/jquery-1.11.0.min.js”> </script> <script src =“ http://malsub.io/jquery.form.form.form.form.form.js”> {$(“#btnsubmit”)。單擊(function(){if(“ [name ='name ='nvc_name']”)。val()= =“”){arter(“請填寫名字”); $(“ [name ='name ='nvc_name'name'nvc_name'] (r.success){location.reload();}})})}); </script>第三種方式:郵政提交
<table cellpadding =“ 0” celmspacing =“ 0”> <tbody> <tr> <tr> <td align =“ right”>手機號:</td> <td> <td> <tput type type =“ text” text'lostholder =“ id =” id =“ id =” nvc_user_name“ nvc_user_name”/> </> </> </> </> value =“保存” document.getElementById('nvc_user_name'); $。 post('/interface/modefiypwd',{nvc_user_name:nvc_user_name.value,},function(function(data){if(data.success) {layer.msg(data.msg);}});});})</script>MVC中形式(推薦),希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對武林網網站的支持! ,小編會及時回復大家的。在此也非常感謝大家對武林網網站的支持!