![]() Topic awaiting preservation: Appending HTML somewhere.... anywhere... (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() Let's say we have a DIV... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Yeah, document.write only appends to the document if it's executed while the page is still loading. |
Bipolar (III) Inmate From: |
![]() OK, that's cool and all. code: <a href='JavaScript:void(0);' onclick='addStuff()'>Add a new row</a>
code: function addStuff(){
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Yeah. It's longer, I know. But you can make use of the return value of Document.CreateElement and Element.appendChild: |