links in textarea

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aduash
    New Member
    • Apr 2007
    • 1

    links in textarea

    Hi,

    I am new to JavaScript and to this forum and need your help.
    I have a textarea in my html page and I have to populate this dynamically with some links through html.
    I am using a for loop and in that document.getele mentdyid(“text” ).value=item
    All the items are being displayed in the textarea, but I don’t know how to make them as links.

    Any help in this matter would be highly appreciated.
  • tifoso
    New Member
    • Apr 2007
    • 41

    #2
    Put your links inside a <TD> or something like that, you got to sync out the logic

    ...

    <td>
    <script >

    document.write( my_writeout_lin ks() );

    </script>

    </td>

    Comment

    • DutchKingCobra
      New Member
      • Mar 2007
      • 37

      #3
      hi pal

      links in textarea !
      wont work

      Someone correct me if im wrong ;P
      Atleast not for IE
      peace

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by aduash
        Hi,

        I am new to JavaScript and to this forum and need your help.
        I have a textarea in my html page and I have to populate this dynamically with some links through html.
        I am using a for loop and in that document.getele mentdyid(“text” ).value=item
        All the items are being displayed in the textarea, but I don’t know how to make them as links.

        Any help in this matter would be highly appreciated.
        Welcome to The Scripts.
        Use a div instead. A textarea normally can't display links.

        Comment

        Working...