当我在Chrome上为弹出式日历运行Java脚本时,会收到此消息。但是,它可以在IE上运行。我无法弄清楚这个错误是什么意思。 function getDate(Src, Msg) { var left, top, date; date = document.forms[0].item(Src,0).value; date = window.showModalDialog('/QHOS/CalendarPopup.aspx?Src=' + Src + '&d=' + date + '&msg=' + Msg,'Calendar','dialogHeight:320px; dialogWidth:228px; edge:Sunken; center:Yes; help:No; resizable:no; status:No; unadorned:No; scroll:No;'); if ( date != null ) { document.forms[0].item(Src,0).value = date; } } 特别是与这条线有关。date = document.forms[0].item(Src,0).value;
添加回答
举报
0/150
提交
取消