vs2008版本的代码
<script language="JavaScript">
window.onload = initWindow;
function initWindow() {
window.returnValue = "";
cal.setDate(window.dialogArguments);
}
用iis运行后时间表这块显示如下错误:
function calendar(t) {
var sPath = "Script/calContainer.htm";
strFeatures = "status=no;dialogWidth=225px;dialogHeight=230px;center=yes;help=no";
sDate = showModalDialog(sPath,t.value,strFeatures);
t.value = sDate;
}
function calendar2(t) {
var sPath = "../Script/calContainer.htm";
strFeatures = "status=no;dialogWidth=243px;dialogHeight=230px;center=yes;help=no";
sDate = showModalDialog(sPath,t.value,strFeatures);
t.value = sDate;
}
请问大家这个要怎么改呀?