Hi,
Was wondering if it's possible to find the left position of a table cell if
the cell is created dynamically.
I have a table with a single cell. When a button is clicked, I'd like to add
another cell to it, give the cell a class style and then find the cell's
left position.
Right now I'm using doing this:
cell = document.create Element("td");
cell.appendChil d("sometext") ;
cell.className = "cellStyle" ;
tableRow = document.getEle mentById(theTab leRowId);
tableRow.append Child(cell);
How would I get the left position of each cell added?
Any help appreciated. Thanks.
-Ted
Was wondering if it's possible to find the left position of a table cell if
the cell is created dynamically.
I have a table with a single cell. When a button is clicked, I'd like to add
another cell to it, give the cell a class style and then find the cell's
left position.
Right now I'm using doing this:
cell = document.create Element("td");
cell.appendChil d("sometext") ;
cell.className = "cellStyle" ;
tableRow = document.getEle mentById(theTab leRowId);
tableRow.append Child(cell);
How would I get the left position of each cell added?
Any help appreciated. Thanks.
-Ted
Comment