Element.style——只能獲取內聯樣式. 該方法只能獲取到內聯樣式,而無法獲取 ... function getStyle(obj){ var color=obj.style.color; alert(color) }
確定! 回上一頁