在同一表单内,多个提交按钮的处理方式
//前端代码
<form method="POST" onsubmit="return ad.checkform(this);return false;"> ...... ......
<a href="javascript:void(0);" onclick="this.parentNode.submit();"> <input type="submit" onclick="this.form.target='_blank'" name="preview" value=" 预 览 " > <input type="submit" onclick="this.form.target='_self'" name="save" value=" 保 存 " > </form>
你对人生迷茫吗?
那就背起行囊,起步远行吧

浙公网安备 33010602011771号