here is a simplified example of what I want to do.
I have a table with where one row contains 2 cells.
the first one has colspan=1 and the second has colspan=2.
On some button click, I want to change the table so the first cell is gone, and the second cell gets colspan=3 (basically it takes up the room of the first cell) I want to leave the other rows unaffected.
I know a little javascript but I’m not sure how to accomplish this.
I can get the contents of cell 1 to disappear using
document.getElementById(“cell1″).innerHTML = ”;
but i cant get it to go away. changing the colspan of cell2 to 3 does not work either because cell 1 still exists.
any help would be appreciated.