Displayed below is a table containing rows (tr).
I am attempting to reset the background color for all table rows:
for (var i = 0; i < rows.length; i++) {
if (rows[i].hasAttribute("background-color")) {
rows[i].style.backgroundColor = "transparent";
}
}
An example of a row is as follows:
<tr style="background-color: rgb(232, 229, 216);">