提交表单重新打开新的窗口

 

提交表单重新打开新的窗口Demo:

<form action="xxxxx" target="_blank" method="post" onsubmit="window.open('about:blank','LeX','width='+screen.width+',height='+570+',top=0,left=0')">
<input type=hidden name="val_1" value="0" />

<input type=hidden name="val_2" value="1" />

<input type=submit />

posted @ 2013-04-23 15:57  Drinko123  阅读(347)  评论(0编辑  收藏  举报