例如:如上例, <a> 綁了一個attribute「data」,因為data 是attribute,所以可以使用 getAttribute 取值。 var element = document.getElementsByTagName ...
確定! 回上一頁