兼容chrome与IE

   if(ele.document){
            return ele.document
        }
        return ele.ownerDocument

 

相关文章: