注意: this 代表的會是「觸發事件的目標」元素,也就是 event.currentTarget 而不是 e.target 。 回到剛剛的範例: <label class="lbl"> Label <input type="checkbox" ...
確定! 回上一頁