首页 > 代码库 > 检查DOM能力的函数

检查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);

 

检查DOM能力的函数