<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> 利用Java脚本实现弹出窗口后,按确定实现跳转 </TITLE>
<script type="text/javascript">
function aa()
{
alert(new Date());
window.open("http://www.baidu.com","_self",null);
}
</script>
</HEAD>
<BODY>
<input type="button" value="Go" onclick="aa();" />
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE> 利用Java脚本实现弹出窗口后,按确定实现跳转 </TITLE>
<script type="text/javascript">
function aa()
{
alert(new Date());
window.open("http://www.baidu.com","_self",null);
}
</script>
</HEAD>
<BODY>
<input type="button" value="Go" onclick="aa();" />
</BODY>
</HTML>