Click to See Complete Forum and Search --> : table cells


okham
10-16-2003, 12:02 PM
:D Just a beginners question here: is there any way to update a cell in a table dynamically? - - okham

requestcode
10-16-2003, 02:26 PM
This is more of a JavaScript questions and should be asked there. You could use innerHTML to do it for IE5+ and NS6+ browsers. If you assigned an id of "ID1" to a table cell then you could update it this way:
document.getElementById("ID1").innerHTML="some text"

spufi
10-16-2003, 02:29 PM
Or you could use pretty much any server side language(ASP/PHP/etc.) to do it and not worry about the users who have JS disabled. :)

Daria
10-16-2003, 03:10 PM
See if this thread (http://forums.webdeveloper.com/showthread.php?s=&threadid=18511) can help you out.

okham
10-18-2003, 01:57 PM
- - you're right, it more of a java-side problem. I was just wondering if there was any basic html that would do the trick. Welp, thanks for the replies!