在一个元素中查找子元素

兼容chrome与IE

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

 

posted @ 2016-05-06 14:42  soft.push("zzq")  Views(149)  Comments(0Edit  收藏  举报