Hello,
What's up with this?
I've got a <td id="container" > and want to set the text in this cell like
....
var container = document.getEle mentById('conta iner');
container.data = "Data in cell";
but can only seem to do it like this ...
var label = document.create TextNode("Data in cell");
container.appen dChild(label);
which seems to actually leave me with two text nodes.
Thanks,
Bill
What's up with this?
I've got a <td id="container" > and want to set the text in this cell like
....
var container = document.getEle mentById('conta iner');
container.data = "Data in cell";
but can only seem to do it like this ...
var label = document.create TextNode("Data in cell");
container.appen dChild(label);
which seems to actually leave me with two text nodes.
Thanks,
Bill
Comment