检查DOM能力的函数

            var a=document.implementation.hasFeature("Core","2.0");
            var b=document.implementation.hasFeature("Core","3.0");
            var c=document.implementation.hasFeature("HTML","2.0");
            var d=document.implementation.hasFeature("View","2.0");
            var e=document.implementation.hasFeature("XML","2.0");
            console.log(a,b,c,d,e);

 

posted on 2016-09-17 23:21  Kooing  阅读(144)  评论(0编辑  收藏  举报

导航