showModalDialog

var sURL = "ProductTypes.aspx";
            var returnValue = window.showModalDialog(sURL, "dialogHeight=100px;dialogWidth=200px");
            $("#txt_ProTypeName").val(returnValue);


 

 

 

 

var param = window.dialogArguments; //获得父窗口传递的参数
            //var modelLowerLimit = param.document.all['model.lowerLimit'].value;
            //var modelUpperLimit = param.document.all['model.upperLimit'].value;
            window.returnValue = _ProTyp; //模态窗口返回值
            window.close();


 

你可能感兴趣的:(showModalDialog)