原生js兼容性問題

1. 獲取標籤樣式的兼容性問題node 1. getComputedStyle(node,null).value 不支持IE8以及如下 第一個參數是節點對象,第二個參數是僞類,沒有爲null 2.node.currentStyle.vale 是IE專有的 function getStyleValue(node,propertyName){ if(node.currentStyle)
相關文章
相關標籤/搜索