I am currently trying to use a dynamic id but I an unable to use it in my code. Currently I set the id using an incremental for loop with a prefix. So the id's are "check_1", "check_2" ect..
How do I reference these later? This is not working so I don't know how to go about it so I can check that all the switches are on?
$['check_'.i]