Hi, I am working on a table with asp and I would like to add a feature to show/hide all rows within the a section of the table. This code show/hide only one row at a time, so I need help with show/hide all related rows within the section.
Thanks.
The recordset is determine by a loop within a loop.
Thanks.
Code:
function sh_RowShowHide(sh_RowID) {
var currRow = document.getElementById(sh_RowID);
if (currRow.style.display=="none") {
currRow.style.display="";
document.getElementById(sh_RowID+"img").src = sh_HideImg;
} else {
currRow.style.display="none";
document.getElementById(sh_RowID+"img").src = sh_ShowImg;
}
}
The recordset is determine by a loop within a loop.
Code:
<%
FilterParam = Recordset1.Fields.Item("request_id").Value
Recordset3.Filter = "related_request = '" & FilterParam & "'"
Do while ( not Recordset3.EOF)
%>
Comment