我写了以下弹出代码:
function OpenApproveLevelPopup() {
// debugger;
//document.frmopportunity.txtopplvl.value = 'Level2';
var url = 'ApprovePopUp_shilpa.asp?opprApprLvl=' + document.frmopportunity.txtopplvl.value;
//+ document.frmopportunity.txtopplvl.value;
var windowRetVal = window.showModalDialog(url, "", "dialogHeight:150px;dialogWidth:280px;status: No;");
document.frmopportunity.txtopplvl.value = windowRetVal;
//TheForm.
return windowRetVal;
}
我正在使用以下代码点击按钮调用此功能:
<TD><INPUT class=standard type=submit value='Change Opportunity Design Level' name=ChangeOpportunityDesignLevel onclick = ' return OpenApproveLevelPopup()' ></TD></TR>"
点击弹出窗口中的确定按钮后,我的页面正在刷新,它将返回到父页面,我不想这样。即使点击确定按钮,也请帮我重新打印。