0
0
Fork 0
EnglishPal/app/static/js/checkboxes.js

6 lines
220 B
JavaScript
Raw Permalink Normal View History

2024-07-04 09:29:55 +08:00
function toggleCheckboxSelection(checkStatus) {
// used in userpage_post.html
const checkBoxes = document.getElementsByName('marked');
checkBoxes.forEach((checkbox) => { checkbox.checked = checkStatus;} );
}