摘要:[JAVASCRIPT]window.showModalDialog關鍵字
//父視窗
var sURL = '';
sURL = strPath + "/Common/wFrmOOXX.aspx?empid=000111&cname=" + encodeURIComponent(strCName);
var sFeature = "dialogHeight:600px;dialogWidth:600px;help:no;status:no;"
var args = document.getElementById('<%=hidSelect.ClientID %>');
window.showModalDialog(sURL, args, sFeature);
//子視窗
var args = window.parent.dialogArguments;args.value = 333; window.top.close();