How to get the Dynamically created Text Box values
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: How to get the Dynamically created Text Box values

  1. #1
    Join Date
    Jul 2008
    Posts
    2

    How to get the Dynamically created Text Box values

    hi, i had created a application to generate the text dynamically, now i wanted the values entered in those dynamically created textbox to be displayed in the div in the html page .

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,881

    Re: How to get the Dynamically created Text Box values

    You would get them the same way you get any textbox value.

    Code:
    document.getElementById('ELEMENT_ID').value
    Or...
    Code:
    document.FORMNAME.ELEMENT_NAME.value
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2006
    Posts
    306

    Re: How to get the Dynamically created Text Box values

    you just have to remember that when you created your "dynamic" object, make sure you give it an id.

    Yeah PEEJAVERY's got it. lol
    Last edited by code?; July 28th, 2008 at 03:43 PM.

  4. #4
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,881

    Re: How to get the Dynamically created Text Box values

    Arjay?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  5. #5
    Join Date
    May 2006
    Posts
    306

    Re: How to get the Dynamically created Text Box values

    Quote Originally Posted by PeejAvery
    Arjay?
    lol, srry. omg. im so tired.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center