//前端代码
< metode formulir ="POST" onsubmit ="return ad.checkform(this);return false;" > ...... ......
<a href="javascript:void(0);" onclick="ini.parentNode.submit();"> < tipe input ="kirim" onclick ="this.form.target='_blank'" nama ="pratinjau" value =" 预 览 " > < tipe input ="kirim" onclick ="this.form.target='_self'" nama ="simpan" value =" 保 存 " > </bentuk>