我的HTML页面中有一个Applet,如下所示:
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width = "1"
height = "1"
name = "LMSTestSCODriver"
codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,0,0"
alt = "This object contains the LMSTestSCOApplet">
<param name = "CODE" value = "org.adl.testsuite.rte.lms.comm.LMSTestSCOApplet.class" />
<param name = "CODEBASE" value = "../common" />
<param name = "ARCHIVE" value = "LMSTest.jar" />
<param name = "NAME" value = "LMSTestSCODriver" />
<param name = "type" value = "application/x-java-applet;version=1.4" />
<comment>
<applet code = "org.adl.testsuite.rte.lms.comm.LMSTestSCOApplet.class"
archive = "LMSTest.jar"
name = "LMSTestSCODriver"
id = "NNLMSTestSCODriver"
width = "1"
height = "1"
mayscript = "true">
<param name = "codebase" value = "../common" />
</applet>
</comment>
</object>
发生以下错误:
Microsoft JScript运行时错误:对象不支持属性或方法'evalID'
在以下一行:
var result = LMSTestSCODriver.evalID(query1 +“!”+ query2);
出现此错误的原因是什么?