从A窗口中弹出B窗口,在B中控制A刷新:
A窗口中:
window.open("B.htm","");在B窗口中:
加一按钮,按钮加上Click事件:
<INPUT name=button1 type=button value=Button onclick="RefreshWindow()"><script>
function RefreshWindow(){
parent.location.reload();
}
</script>
A窗口中:
window.open("B.htm","");在B窗口中:
加一按钮,按钮加上Click事件:
<INPUT name=button1 type=button value=Button onclick="RefreshWindow()"><script>
function RefreshWindow(){
parent.location.reload();
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货