I'm trying to create an "Expand All" button that, when clicked, will show a bunch of rows that were previously hidden. Here's the code I'm using, but it does absolutely nothing. How come?
--Ryan
Code:
var arrRows = document.getElementsByTagName("td");
for (var i=0; i < arrRows.length; i++) {
if (arrRows[i].id.substr(0,9) == "infoOwner") {
arrRows[i].style.display = '';
}
}
--Ryan