By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

Is it possible to append html text to current document?

P: n/a
document.write will flush current document content.
I've found I can use DOM to append some element to the document, but I think
append html text directly is better.
Is it possible to append html text to current document?
--
Koms Bomb

*****Pardon my poor English*****
---------------------
Don't worry,be happy.


Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Thank you very much, it works.
--
Koms Bomb

*****Pardon my poor English*****
---------------------
Don't worry,be happy.
"Martin Honnen" <Ma***********@t-online.de> wrote in message
news:3E**************@t-online.de...
IE4`, Opera 7:
document.body.insertAdjacentHTML('beforeEnd',
'<p>Kibolgy for all.<\/p>')

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.