I have a loop that creates 20 check-boxes in the same page (it creates different forms). I want via chrome developer tools to
You have it nearly correct. Just use
aa[i].checked = "checked";
inside the loop.
Namely, you need to make sure that:
"checked"
aa
aa.elements