怎样在弹出的Alert对话框中点击确认后自动指向原登陆页面? 嘗試alert("警告")parent.location.href = "http://bbs.whnet.edu.cn"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>if(confirm('ok?'))location.href='2.asp'else history.go(-1)</script> sorry<script>alert('error')history.go(-1)</script> 问jquery live函数的js表现形式。。 js parentNode FF IE 兼容问题0 怎么获取这个节点 js代碼解釋 封装一个js类,出错'this.initialize' 为空或不是对象 JS的语法问题:关于双引号中怎么用"的问题。在线等....... ajax framework 统计 你能列出多少种 页面跳转,还有关闭窗口问题? 取得<select>中各个option的text值,怎样取出test值的部分值 简单问题,如何设置文本框中的光标在文本后面 javascript怎么取url的值 如何自动加入收藏夹
if(confirm('ok?'))location.href='2.asp'
else history.go(-1)
</script>
<script>
alert('error')
history.go(-1)
</script>