tttt

//iframe页面加载完成后调用ocx方法
var iframeLoaded = function (iframe) {
if (iframe.src.length > 0) {
if (!iframe.readyState || iframe.readyState == "complete") {
document.getElementById('frame_content').contentWindow.loginOcx(_cmsIp, _cmsPort, _username, _password,0/*,deviceId,channelnum*/);
//document.getElementById('frame_content').contentWindow.showOrganization();
}
}
}

posted @ 2015-01-16 09:54  贝壳风铃  阅读(163)  评论(0编辑  收藏  举报