为什么这段表单代码一点击提交就弹出2个窗口?请高手帮忙看看
为什么这段代码一点击就弹出2个新窗口,同一个表单2个提交按钮,为什么我这段代码,无论是<form name="form100" method="post" target="_blank" > 还是 <input type="image" src="img/2.gif" name="Submit2" onClick="form100.action='http://www.bai.com/sou.asp';target='_blank';form100.submit(); "> 我把target="_blank" 放在任何位置都会弹出2个新窗口,只弹出一个新创窗口改怎么做呢? 希望高手帮忙看一下,谢谢
以下是完整代码
<form name="form100" method="post" >
<input name="ke" type="hidden" value="001">
<input name="gjc" type="text" onFocus="if(value=='输入名称') {value=''}"/>
<input type="image" name="Submit3" src="images/1.gif" onClick="form100.action='cp.asp';form100.submit();">
<input type="image" src="images/2.gif" name="Submit2" onClick="form100.action='http://www.bai.com/sou.asp';target='_blank';form100.submit(); ">
</form>