#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    israel
    Posts
    9
    Rep Power
    0

    Red face append text to existing by javascript


    I now that I can insert text to <div> taged table by :
    document.getElementById("text").innerHTML
    My question how can I append text to existing already text.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2001
    Posts
    765
    Rep Power
    13
    document.getElementById("text").innerHTML +=

    btw, you don't need to nest a <div> in there to write content to it - you can give the <td> its own id and write directly to it.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    israel
    Posts
    9
    Rep Power
    0

    Wink thanks!


    Thanks!

IMN logo majestic logo threadwatch logo seochat tools logo