querySelectorAll ( 'input[type=checkbox]' ); for (var item of list) { item.checked = true; }. Recent browsers also support iterator methods, forEach(), ...
確定! 回上一頁