var v_attachment 
    = window.showModalDialog("myWebPage.jsp", 
        null, 
        "dialogWidth:500px;dialogHeight:230px;help:no;status:no;scroll:no" );

解决方案 »

  1.   

    用非模态对话框吧!<SCRIPT>
    // Supplies a return value from modeless dialog box.
    var sUserName="";              // Passes URL and file name of dialog box as a variable.
    var oDialog = "myDialog.htm";  // Passing the window object allows for the creation of a 
    // callback to return information from the modeless dialog box.function fnCallDialog(sUrl )                                             
    {
       showModelessDialog(sUrl ,window,
          "status:false;dialogWidth:300px;dialogHeight:300px");
    }</SCRIPT>