//前端代码
< form method ="POST" onsubmit ="return ad.checkform(this);return false;" > ...... ......
<a href="javascript:void(0);" onclick="this.parentNode.submit();"> < type d'entrée ="submit" onclick ="this.form.target='_blank'" nom ="preview" value =" 预 览 " > < type d'entrée ="submit" onclick ="this.form.target='_self'" nom ="save" value =" 保 存 " > </formulaire>