// 補充程式碼
<表單方法="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 ="儲存" > </表格>