6 lines
220 B
JavaScript
6 lines
220 B
JavaScript
|
function toggleCheckboxSelection(checkStatus) {
|
||
|
// used in userpage_post.html
|
||
|
const checkBoxes = document.getElementsByName('marked');
|
||
|
checkBoxes.forEach((checkbox) => { checkbox.checked = checkStatus;} );
|
||
|
}
|