帮助我弄一个值
var a = document.getElementById("abc");
我想知道 abc的”backgroundColor“的值;
[解决办法]
document.defaultView.getComputedStyle(a).backgroundColor //w3c
a.currentStyle.backgroundColor//ie
这样试试