Thanks, that’s helpful. I added
$row_id = $row[jid];
// where jid is the index column of the table
Then in the echo statement I have <input type="checkbox" id="jtitle$row_id" etc>
and <input type="text" id="comments$row_id" etc>
However in the script statement I still have document.getElementById("comments").disabled = false;
So the function isn’t finding a match because they all have a number appended. How can I adjust the JS function?