Is it possible to append html text to current document?

Discussion in 'Javascript' started by Koms Bomb, Jun 30, 2003.

  1. Koms Bomb

    Koms Bomb Guest

    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, Jun 30, 2003
    #1
    1. Advertising

  2. Koms Bomb

    Koms Bomb Guest

    Thank you very much, it works.


    --
    Koms Bomb

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


    "Martin Honnen" <> wrote in message
    news:...
    > IE4`, Opera 7:
    > document.body.insertAdjacentHTML('beforeEnd',
    > '<p>Kibolgy for all.<\/p>')
    >
    > --
    >
    > Martin Honnen
    > http://JavaScript.FAQTs.com/
    >
     
    Koms Bomb, Jul 1, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. barry
    Replies:
    3
    Views:
    606
    barry
    Dec 23, 2005
  2. sm
    Replies:
    2
    Views:
    586
    Rolf Magnus
    Apr 29, 2005
  3. HYRY
    Replies:
    10
    Views:
    643
    Bruno Desthuilliers
    Sep 26, 2007
  4. Mel
    Replies:
    1
    Views:
    116
    Martin Honnen
    Mar 22, 2005
  5. Replies:
    1
    Views:
    327
    Thomas 'PointedEars' Lahn
    Mar 19, 2008
Loading...

Share This Page