new line in innerHTML

Discussion in 'HTML & Website Design' started by ycc, Jan 21, 2009.

  1. #1
    Hello,

    I have problems understanding how new line is represented in innerHTML. I have tried \n which does not give linebreak and <br> which is not accepted.

    Example is here:
    http://web.telia.com/~u17103363/doc/tst_02.htm

    How do I put only one name on each line in the textarea?

    Thanks for advice.
     
    ycc, Jan 21, 2009 IP
  2. NosZHi

    NosZHi Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Simply use ENTER to go to the next line.
     
    NosZHi, Jan 21, 2009 IP