PDA

View Full Version : inserting data in to the table field


phani
03-16-2003, 07:16 PM
Hi,

i want to insert into the table field using the javascript.

<td id="balance"></td>

I have tried

document.getElementById("balance").innerText = "sample data"

but it is not working can any one correct me

ph

x_goose_x
03-16-2003, 07:52 PM
try innerHtml