function DetectActiveX()
 {
    
try
    {
       
var comActiveX = new ActiveXObject(控件名称);   
    }
    
catch(e)
    {
       
return false;   
    }
    
return true;
 }
posted on 2009-09-08 15:21  momo0789  阅读(407)  评论(0编辑  收藏  举报