I have a checkbox that is being echoed by PHP. So, the id of the checkbox will be dynamic.

So, I would like use a variable for document.getElementById().

Below is my PHP code:


echo...