D
dgweb
Unregistered / Unconfirmed
GUEST, unregistred user!
<SCRIPT language=JavaScript1.2>
function OpenNewForm(WebAdd,FormName){
window.location.href = WebAdd;
window.target = FormName;
// <--- 这里有问题,请修改!!!
}
</SCRIPT>
怎么要打开一个新窗口?
<input name="Submit" type="submit" onClick="OpenNewForm('http://www.dgweb.cn','_blank')" value="打开">
要打开一个新的窗口,而不是当前窗口!!!