setAttribute (string name, string value):增加一個指定名稱和值的新屬性, ... 這裡利用setAttribute指定e的onclick屬性,簡單,很好理解。
確定! 回上一頁