<Script language="JavaScript">
if (confirm("确认退出,返回登录窗口?"))
{
document.location.href="quit.asp";
}
else
{
document.location.href="other.asp";
}
</Script>
if (confirm("确认退出,返回登录窗口?"))
{
document.location.href="quit.asp";
}
else
{
document.location.href="other.asp";
}
</Script>
function test(){
if (confirm("确认退出,返回登录窗口?"))
{
document.location.href="a.htm";
}
else
{
document.location.href="b.htm";
}
}
</Script>
<input type="button" name="Button" value="Button" onclick="test()">的确可行!