showModalDialog--------------------------------------------------------------------------------DescriptionCreates a dialog box and displays in it the HTML document given by URL. The dialog box is a special window that is modal, meaning it retains the input focus until the user closes it. Syntax
variant = object.showModalDialog(sURL [, vArguments [, sFeatures]])Parameter Description 
sURL  String specifying the URL of the document to load and display. While an empty string is accepted (""), it should be noted that this is useless since once a modal dialog has been opened, it cannot be accessed by the page that opened it. 
vArguments  Optional. Variant specifying the arguments to use when displaying the document. This parameter can be used to pass a value of any type including an array of values. The dialog can extract the values passed by the caller from the dialogArguments property of the window object.  
sFeatures  Optional. String specifying the window ornaments for the dialog box. It can be a combination of the following values. Syntax  Description  
dialogWidth:number  Sets the width of the dialog window. 
dialogHeight:number  Sets the height of the dialog window. 
dialogTop:number  Sets the top position of the dialog window relative to the upper-left corner of the desktop. 
dialogLeft:number  Sets the left position of the dialog window relative to the upper-left corner of the desktop. 
center:{yes | no | 1 | 0 }  Specifies whether to center the dialog window within the desktop. Default is yes. 
 Return ValueReturns a number, string, or other value. This is equal to the value of the returnValue property as set by the document given by URL. ResThe default font settings should be set in the same way CSS attributes are set; for example, "font:3;font-size:4". To define multiple font values, use multiple font attributes. When dialogLeft and/or dialogTop is specified, the feature center is overridden, even though the default for center is yes.Applies Towindow 

解决方案 »

  1.   

    old.aspnew.asp
    <form name="form1" method="post" action="old">
    不明白你什么意思。提交一下就可以了。
    你什么意思呀??
      

  2.   

    function AddNode()
    {
    var strPathName=window.location.pathname;
    var inParameter="NULL"+","+"NULL"+","+GetSelectValue(document.forms[0].ModelID);
    var outResult=showModalDialog(strPathName.substring(0,(strPathName.lastIndexOf('/')+1))+"Define_Node.jsp?Node=NULL&Action=NULL&ModelID="+GetSelectValue(document.forms[0].ModelID),inParameter,"dialogWidth:12;dialogHeight:6;dialogTop:400;dialogLeft:500;status:no;");
    if(outResult=="False")
    {
    }
    else
    {
    var outParameter=outResult.split(",");
    var strOutNode=outParameter[0];
    var strOutAction=outParameter[1];
    var strOutNode_,strOutAction_;
    strOutNode_=strOutNode.split("_");
    strOutAction_=strOutAction.split("_");
    document.forms[0].ListNode.length=document.forms[0].ListNode.length+1;
    document.forms[0].ListAction.length=document.forms[0].ListAction.length+1;
    var iLen=document.forms[0].ListNode.length;
    document.forms[0].ListNode.options[iLen-1].value=strOutNode_[0];
    document.forms[0].ListNode.options[iLen-1].text=strOutNode_[1];
    document.forms[0].ListAction.options[iLen-1].value=strOutAction_[0];
    document.forms[0].ListAction.options[iLen-1].text=strOutAction_[1];
    }
    }
      

  3.   

    <a href=url target="_parent">aaa</a>是这个意思吗?
      

  4.   

    A页中的链接打开了新窗口B,B表单提交好信息,提交返回到A页
      

  5.   

    gjd111686(数字金刚) 别光在这里做 ICP 呀, 除了那些帮助文件之后还有没有你自己的货呀???