getAttribute:取得屬性;setAttribute:設定屬性;複製程式碼程式碼如下: ... 屬性attr賦值詳解JavaScript中的attribute 和jQuery中的attr 方法淺析 ...
確定! 回上一頁