你是另外开了个页面吧?
那样的话
用
opener.location.href="index.jsp";
target="_parent";
那样的话
用
opener.location.href="index.jsp";
target="_parent";
解决方案 »
- ExtJs 表格的表头排列错乱
- 刷新页面时如何调用JQuery函数?
- javascript配置页面布局并保存,如何实现
- |zyciis| 一个DIV拖动,如何来防windows的拖动呢?拖动的时候产生一个虚框,拖动的内容半透明,虚框确定时DIV更新为他的位置,谢谢
- Struts中JS return的问题
- 简单问题:关于TextBox的清空.......
- JavaScript与Applet交互的导致IE死掉的问题。
- 比document.getElementById短点的写法
- 我晕菜了,居然什么都不是对象
- 讨论!!怎样在网页中实现录音的功能,并能让用户听到自己的声音
- 在javascript中从第3个字符取值,共取6个,怎么写??
- 怎样实现表头不动,表体可以滚动
<!--
alert("登录失败!");
parent.location.href="index.jsp";
target="_parent";
//-->
</script>
parent.location.href="index.jsp";
<!--
alert("登录失败!");
opener.location.href="index.jsp";
//-->
</script>
<!--
alert("登录失败!");
window.parent.location.href="index.jsp";
//-->
</script>
or
<script language="javascript">
<!--
alert("登录失败!");
window.top.location.href="index.jsp";
//-->
</script>
我想你应该是一个页面有两个frame吧,一个在上面,一个在下面吧,(或者一个在左边,一个在右边)
可以用window.parent.'要显示index的frame'.location.href="index.jsp";