代码如下:
function word()
{
debugger
var oTemp = new ActiveXObject( "DataEnginePlug.DataEngine ");
var bTypeExists = new Array();
var iTypeID = new Array();
var strTypeName = new Array();
var strOutMsg = new Array();
var strInnerHtml;
var bValidate = oTemp.GetExamType( "一个物理路径 ",bTypeExists,bTypeID,strTypeName,strOutMsg);
if(bValidate)
{
if(bTypeExists.length > 0)
{
for(int i = 0 ; i < bTypeExists.length ; i++)
{
if(bTypeExists[i] == "true ")
{
strInnerHtml = strInnerHtml + ( "题目编号 " + bTypeID + "题目类型 " + strTypeName + "\n ");
}
}
}
document.getElementById( "TempDiv ").InnerHtml = strInnerHtml;
}