两个页面1.asp和2.htm,在1.asp中用window.open()打开2.htm,现在我想在关闭2.htm的同时让1.asp自动重新载入一下(也就是刷新一下)。请问该如何写呢???js或者vbs都可以!!!!
---------------------------------------------------------------
2.htm
1<script>
2opener.location.reload()
3window.opener=null;
4window.close();
5</script>
---------------------------------------------------------------
2.htm
1<script language="javascript">
2function winclose()
3{
4window.opener.location.href=window.opener.location.href
5}
6</script>