表单BUTTON连接页,让其弹出如何做?
<input type="button" value="下一步" name="B4" onclick="window.location.href='payment.asp';" style="font-size: 9pt" <%=canPay%>>
让payment.asp弹出显示如何做?
<script language="javascript"> function newwin() {win = window.open("","payment")} </script> <form action="payment.asp" target="payment" onsubmit="return newwin()"> <input type="submit" value="下一步"> </form>
试试这样行了吧
[此贴子已经被作者于2004-10-15 16:28:22编辑过]
呵呵。是。
也可以直接onclick="window.open='payment.asp'
对,不利用函数也可以的