没有参数,你可以提交到一个隐藏的<iframe name="submitName" style='display:none;'></iframe>
这样就可以不开窗口了。

解决方案 »

  1.   

    add an IFRAME inside your html opened with showModalDialog and submit the form to that IFRAME
      

  2.   

    sorry, I opened too many windows and did not see  chenzengxi(懒猫) 's reply
      

  3.   

    谁能告诉我showmodalDialog的三个参数值意义吗
      

  4.   

    vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])
      

  5.   

    to zzw922
    vArguments=需要向新开模式对话框传递的参数 
    sFeatures=(*dialogHeight:sHeight;dialogLeft:sXPos;dialogTop:sYPos;dialogWidth:sWidth;center:{ yes | no | 1 | 0 | on | off };dialogHide:{ yes | no | 1 | 0 | on | off };edge:{ sunken | raised };help:{ yes | no | 1 | 0 | on | off };resizable:{ yes | no | 1 | 0 | on | off };scroll:{ yes | no | 1 | 0 | on | off };status:{ yes | no | 1 | 0 | on | off };unadorned:{ yes | no | 1 | 0 | on | off };*) 
      

  6.   

    这里说的很清楚了:
    http://www.csdn.net/expert/topic/781/781508.xml?temp=.7653772
      

  7.   

    我要提交表单到另一个页面,要求在同WINDOW中显示,不弹出新窗口!
    Help me!