I know it may be a simple thing, but I can\'t figure out. I am trying to insert some text coming from a JavaScript function onload event into a td.
append a text node as follows
var td1 = document.getElementById('td1'); var text = document.createTextNode("some text"); td1.appendChild(text);