Is it possible to append html text to current document?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Koms Bomb

    Is it possible to append html text to current document?

    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.




  • Koms Bomb

    #2
    Re: Is it possible to append html text to current document?

    Thank you very much, it works.


    --
    Koms Bomb

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


    "Martin Honnen" <Martin.Honnen@ t-online.de> wrote in message
    news:3EFFFE90.6 040609@t-online.de...[color=blue]
    > IE4`, Opera 7:
    > document.body.i nsertAdjacentHT ML('beforeEnd',
    > '<p>Kibolgy for all.<\/p>')
    >
    > --
    >
    > Martin Honnen
    > http://JavaScript.FAQTs.com/
    >[/color]


    Comment

    Working...