解决方案 »
- 怎么去除两个数组中重复的字段 然后获得新的不重复的内容
- 请问哪位大虾知道学习java EE需要看哪些书?谢谢
- 听说火狐是用JAVA编写的,那虚拟机放在哪里呢?
- 为什么我写的Javascript代码每次在浏览器看时,都有这样的提示“To help protect your security,……”
- ssh显示问题
- 异常Source not found for CursorableLinkedList.removeFirst() line: not available
- 全局变量?
- 隔层获取数据,有什么好方法。例如:学校-班级-组-学生 ,彼此是上下级关联,没有跳级关联。
- java求圆周率
- 我怎么把2个字符串合并成一个字符串?
- mysql下的ibdata1文件10M!!!太大了,有没有高手知道清理的办法啊?
- 有谁用过jstockchart开发过股票分时图,怎么去掉交易量的那一块
function jumpPage(){
alert("hello");
//这里需要处理跳转到被的页面
//....这里怎么写啊
}
//5秒后跳转
var id = window.setTimeout("jumpPage()",5000);
function jumpPage(){
// alert("hello");
//这里需要处理跳转到被的页面
//....
parent.location.href="index.jsp";
}
//清除时间限制
function cto(){
window.clearTimeout(id);
}
//5秒出现hello对话框
var id = window.setTimeout("jumpPage()",5000);
</script>
改一下你的方法就行了。
常用的除了"_top",还有"_self""_blank""_parent",不用解释了吧?
相当于超链接的target。 function jumpPage(){
// alert("hello");
//这里需要处理跳转到被的页面
//....
//parent.location.href="index.jsp";
window.open("index.jsp", "_top");
}
function jumpPage(){
// alert("hello");
//这里需要处理跳转到被的页面
window.location='http://www.baidu.com';
//....
parent.location.href="index.jsp";
}
//清除时间限制
function cto(){
window.clearTimeout(id);
}
//5秒出现hello对话框
var id = window.setTimeout("jumpPage()",5000);
</script>