sure_msg.html
-------------------<HTML> 
<HEAD> 
<META http-equiv=Content-Type content=text/html; charset='EUC-JP'> 
<TITLE>WebSAM spoolernet</TITLE> 
</HEAD> 
<SCRIPT language = 'javascript'> 
function file_update_all_copy(){
document.form_hostname.hid_update_copy_data.value = 'test1::command=dp_prm_mg item=HP4570B*218.56.61.121:: BS_TOP=OFF BS_UPRI=13-15 BS_SPBACK=ON BS_SPDEL=ON BS_PCAP_mx=1515 BS_PCAP_sc=OFF test1';
document.form_hostname.method = 'POST';
document.form_hostname.action = '/cgi-bin/limit_file.cgi?flag=update';
document.form_hostname.target = 'FM_Right';
document.form_hostname.submit();
window.close();
};
function file_all_copy(){
document.form_hostname.send_copy_data.value = 'command=dp_prm_mg item=HP4570B*218.56.61.121 item=test1:: BS_TOP=OFF BS_UPRI=13-15 BS_SPBACK=ON BS_SPDEL=ON BS_PCAP_mx=1515 BS_PCAP_sc=OFF test1';
document.form_hostname.method = 'POST';
document.form_hostname.action = '/cgi-bin/limit_file.cgi?flag=noupdate';
document.form_hostname.target = 'FM_Right';
document.form_hostname.submit();
window.close();
};
</script> 
<BODY bgcolor=#cccccc> 
<H4>
<FONT color='#6056A6'>Do you want to do update before copy the file to host?</FONT>
</H4> 
<FORM name=form_hostname> <INPUT type='hidden' value='aaa' name='hid_update_copy_data'> 
<INPUT type='hidden' value='aaa' name='send_copy_data'> <DIV align='right'> 
<INPUT type='button' value='Yes' name='B1' onclick='javascript:file_update_all_copy();'> 
<INPUT type='button' value='No' name='B1' onclick='javascript:file_all_copy();'> 
<INPUT type='button' value='Cancel' name='B2' onclick='javascript:window.close();'> 
</DIV> 
</FORM> 
</BODY> 
</HTML>从主窗口中打开上面的sure_msg.html (在新窗口中打开)
用户点Yes 或者No后都提交到'/cgi-bin/limit_file.cgi进行处理,处理完毕后从limit_file.cgi
中会打开一个result.cgi 显示处理结果。在IE下一切正常,但是在NetScape6下sure_msg.html 并没有被关闭,后来弹出的result.cgi 直接在原来sure_msg.html 所在的窗口显示了出来。请问各位是什么原因,如何解决