原生js兼容性问题

1. 获取标签样式的兼容性问题node 1. getComputedStyle(node,null).value 不支持IE8以及如下 第一个参数是节点对象,第二个参数是伪类,没有为null 2.node.currentStyle.vale 是IE专有的 function getStyleValue(node,propertyName){ if(node.currentStyle)
相关文章
相关标签/搜索