Populate TEXTAREA field with array in javascript

Discussion in 'JavaScript' started by inderpal, Aug 23, 2006.

  1. #1
    Hi All,

    I have a pre-populated array in a JavaScript. How to populate TEXTAREA field with the text from that array, each entry on different line on page load? Say, value at index 1 will come at line 1; value at index 2 will come at line 2 and so on.

    I would appreciate any help regarding this.

    Best Regards,
    Inderpal Singh
     
    inderpal, Aug 23, 2006 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160