新版本中的 Google chrome 删除了 showmodalDialog 。并且我使用此浏览器的代码不起作用我该如何解决我的问题?
function AddTime(OfferTime) {
var x = new Array();
var ClsPartColeg = document.getElementById("ClassParam").value;
x[0] = SrcName(ClsPartColeg, 'PartCombo');
if (OfferTime)
x[1] = OfferTime;
else
x[1] = '$$0$' + SrcName(ClsPartColeg, 'College') + '$';
var s = showModalDialog("../HtmlPage/ClsTime.htm", x, "status:0;help:0;dialogWidth:420px;dialogHeight:100px");
if (s)
Perform('NewTime;Item=' + s);
}