我有一个div元素,希望将新的样式属性附加到它。我试过这样做:element.setAttribute('style', 'property: value'); 它可以工作,但是如果该元素已经 ...
確定! 回上一頁