insertBefore("<b>test</b>",some_node_thing)

Discussion in 'Javascript' started by yawnmoth, Nov 9, 2006.

  1. yawnmoth

    yawnmoth Guest

    Instead of having to use
    document.createNode("b").appendChild(document.createTextNode("test")),
    or whatever, as the first parameter to an insertBefore function call,
    would it be possible to just create the HTML I want to use? Sort of
    like document.createDummyNode.innerHTML = "<b>test</b>", or something?
    yawnmoth, Nov 9, 2006
    #1
    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. Achille

    URGENT: InsertBefore

    Achille, Nov 3, 2004, in forum: Java
    Replies:
    1
    Views:
    411
    Martin Honnen
    Nov 3, 2004
  2. Horny Porno-thologist

    Can't seen to use insertBefore

    Horny Porno-thologist, Jan 28, 2004, in forum: XML
    Replies:
    0
    Views:
    354
    Horny Porno-thologist
    Jan 28, 2004
  3. NotGiven
    Replies:
    0
    Views:
    498
    NotGiven
    Sep 17, 2004
  4. Dante

    Need help with insertBefore

    Dante, Dec 24, 2003, in forum: Javascript
    Replies:
    3
    Views:
    107
    Dante
    Dec 24, 2003
  5. NotGiven
    Replies:
    0
    Views:
    89
    NotGiven
    Sep 16, 2004
Loading...

Share This Page