you can do that with DOM.
I still didnt get your question clearly though. If you want something to come in t table cell, you must identify it.
Suppose you have the Table object, you can use its id property to get the control's reference in javascription (using document.getElementById('ID');
<script type="text/javascript">
function btnClick_Click()
{
var enteredText = document.getElementById('txtInput').value;
var tbl = document.getElementById('tblData');
var TBody = tbl.firstChild;
var Trow = TBody.firstChild;
var TableCell2 = Trow.firstChild.nextSibling;
TableCell2.firstChild.nodeValue = enteredText;
}
</script>
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<input type="text" id="txtInput" >
<input type="button" id="btnClick" value="Click Me" onclick="btnClick_Click()" />
<table border="1" id="tblData">
<tr>
<td>TestData1</td><td>TestData2</td>
</tr>
</table>
</form>
Ganesh Ranganathan
[Please mark the post as answer if you find it helpful]