We can get the selected checkboxes by using the :checked pseudo class. document.querySelectorAll('input[type="checkbox"]:checked').
確定! 回上一頁