Topic awaiting preservation: Writing to a Table Cell using writeln.. |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-17-2002 02:20
Is writing to a table cell like this possible? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-17-2002 03:04
No... only the document supports the write and writeln functions, and when called after the page has finished loading, they overwrite the entire document (and the changes appear when document.close() is called). |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-17-2002 14:59
so we're looking at something like |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-17-2002 15:11
Right. Except you don't need to write the <tr> or <td> tags, since they're on the outside of the TD, and you're editing the *inner* HTML. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-17-2002 15:15
I told ya- it didn't work... |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-17-2002 15:44
well, I've got a sweeping declaration for all in the room: |