posted 17 years ago
var sTable = document.getElementById('DataTable1').rows[0].cells;
sTable[0].rowSpan = '1';
I have a table named DataTable1. When I try to use that code in a function to change the rowspan of first row, I get an error message, invalid argument.
please help.
how can I change the colspan of a table using javascript?
an example would be really helpful. Thanks.
[ September 21, 2006: Message edited by: Tokai Moshai ]