1、我用JavaScript弹出啦一个页面,怎么在这个页面关闭的时候刷新父窗口啊?
Response.Write("
<script>
alert('成功!');
window.opener.location.href=window.opener.location.href;
window.close();
</script>");
2、刷新iframe
对于iframe(iframeMain是iframe的ID)
document.all.iframeMain.src="XXX";??????
//显示iframe中最后一次刷新得到的内容
document.all.iframeMain.contentWindow.location="XXX";?
//重新刷新iframe的内容
firefox下没有document.all对象
要用document.getElementById('id').contentWindow.location.href="XXX"
document.all.iframeMain.src="XXX";??????
//显示iframe中最后一次刷新得到的内容
document.all.iframeMain.contentWindow.location="XXX";?
//重新刷新iframe的内容
firefox下没有document.all对象
要用document.getElementById('id').contentWindow.location.href="XXX"