I am using Java Script, and am required to use strictly Java Script and no JQuery.
Basically I have a large size web page. When a button on the page is clicked, a java script method "goThroughROws()" is called.
Basically the method needs to itereate through every row, and wherever a check box control has been encountered, the
Java Script method needs to uncheck all of the check box controls on the page.
My function will iterate through each row, However I am at a loss in trying to figure out how to iterate through each data table
cell and then to access each check box control inside of the data cell. Some of the checkbox controls are also contained in span tags, so that seems to add complexity to
So in a nut shell, my question is asking how I can access each check box control located in the data cells, even if the check box controls are contained in span tags?
<td><span name="123"><input id="rpt_ctl03$txtAmount" id="rpt_ctl03_altSelectBox" type="checkbox" name = "rpt$ctl03$altSelectBox" checked="checked" </span></td>
var table = document.getElementById("PayTable");
var r = 0;
for(var c=0; m = table.rows[r].cells.length; c < m; c++)
var xx = table.rows[r].cells[c].innerHTML;