But, to get the dynamic value we have to check the computed style. Let's try. document.defaultView.getComputedStyle(element, null)["width"]; // ...
確定! 回上一頁