表格>
var 計時器
var winOpen
function IfWindowClosed() {
if (winOpen.lined == true) {
document.fm_Info.txtValue.value="子關閉"
視窗.clearInterval(timer)
}
}
;
document.fm_Info.txtValue.value=""
winOpen=window.open("child.htm","","toolbar=no, location=no,directories=no, status=no, menubar=否" )
timer=window.setInterval("IfWindowClosed()",500);
腳本>
身體>