I wrote code to put a border around all cells in a specific table column. I used “firstChild” and “nextSibling” in a double nested while loop to locate all of the cells in that column. Now when I did:
tableCell.setAttribute("style", "border = 1px solid #BFD44B");
I get the error in Firebug: tableCell.setAttribute is not a function. I verified that tableCell is a “HTMLTableCellElement” by alerting it. I’m completely new to JS, so…