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.
Use jQuery
Look how easy it would be if you did.
Example:
$('#td1').html('hello world');