I was trying to add this function
function checkAll(bx) {
var cbs = document.querySelectorAll('[value="OPT_THUMB"], [value="OPT_THUMB_STRIP"]');
for(var i=0; i < cbs.length; i++) {
if(cbs[i].type == 'checkbox') {
cbs[i].checked = bx.checked;
}
}
}
But the developer built his code on the checked . block => this is 👉ban code👈
What do I do to escape the ban while the escape is limited to that function only