87,910
社区成员
发帖
与我相关
我的任务
分享
var strOcxPath = "XXXX.cab#version=X,X,X,XXX";
var ocxObject = document.createElement('object');
ocxObject.setAttribute("id", "Myocx");
ocxObject.setAttribute("classid","clsid:XXXXXXXXXXXXXXXXXXXXXX");
ocxObject.setAttribute("width", "0");
ocxObject.setAttribute("height","0");
ocxObject.setAttribute("codebase",strOcxPath );
document.body.appendChild(ocxObject);