页面跳转问题。急,请高手帮助新人。
父页打开模式页,
模式页录完后,提交,
如何实现
1、模式页关闭
2、将父页按新的URL重新打开。
要求:
父页不使用模式页的返回值。
问题点数:20、回复次数:3Top
1 楼peng_0_0_1983(这头猪很瘦)回复于 2006-06-01 17:06:24 得分 20
子页面加上如下js
<body bgColor="background" onunload="closewin();" MS_POSITIONING="GridLayout">
<script language="javascript">
function closewin()
{
window.opener.location.href=window.opener.location.href;
}
</scirpt>Top
2 楼hanchi8008(寒池)回复于 2006-06-01 18:00:51 得分 0
楼上的正确!Top
3 楼waywander(第三只眼)回复于 2006-06-01 18:05:43 得分 0
只要 opener.location.reload()就行了Top




