i have this code for hiding a table and a cell in aspx, backend vb.net Code -
For Each row As HtmlTableRow In tab_a1.Rows
If row.ID = "a1" Then
For Each cell As HtmlTableCell In row.Cells
cell.Visible = (cell.ID = "a1")
Next
ElseIf row.ID = "b1" Then
For Each cell As HtmlTableCell In row.Cells
cell.Visible = (cell.ID = "b1")
Next
Else
row.Visible = False
End If
Next
now instead of tables I'm using tags. How can i use similar code and make div's visible and invisible?