错误:用脚本window.showModalDialog打开的页面,点击button时打开新窗口

 

例:

Var retValue=window.showModalDialog(“test.aspx”);

在test.aspx页面的<header></header>中加入:
   <base target="_self" />

   记录一下!

原文地址:https://www.cnblogs.com/LeimOO/p/1538758.html