How to get textarea element....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mansur86
    New Member
    • Sep 2008
    • 1

    How to get textarea element....

    Hello...

    Now I already have textarea with id = "textarea-id" for instance below

    <textarea id="textarea-id">MY TEXT AREA</textarea>
    Now how I GET this textarea element, Than I will add additional text by input input dialog, than SUBMIT > will POST to another textarea which contain whole text?

    Thank You In advance... tq..
  • David Laakso
    Recognized Expert Contributor
    • Aug 2008
    • 397

    #2
    I have no idea what you are talking about. See textarea, and the working example at the bottom of the page.

    Comment

    • labmonkey111
      New Member
      • Sep 2008
      • 44

      #3
      This sounds like a problem that would require a Javascript solution. You may want to repost this question in the Javascript forum.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        The method you're looking for is document.getEle mentById() supplied with the unique textarea element ID.

        PS. Moved to the JavaScript forum.

        Comment

        Working...