第一种方式:提交按钮按钮
<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中形式(推荐),希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对武林网网站的支持!,小编会及时回复大家的。在此也非常感谢大家对武林网网站的支持!