Javascript form question

Discussion in 'JavaScript' started by mcdeere02, Aug 7, 2009.

Thread Status:
Not open for further replies.
  1. #1
    I have passed values from one form to another. I have placed the data in hidden text boxes on the new form. How do I grab the text from the hidden form fields to a table on the page? I have tried document.write and GetElementById.

    thanks!
     
    mcdeere02, Aug 7, 2009 IP
  2. JavaScriptBank.com

    JavaScriptBank.com Peon

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    JavaScriptBank.com, Aug 7, 2009 IP
  3. HivelocityDD

    HivelocityDD Peon

    Messages:
    179
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    To write the content to a table's <td> you will have to first give that td an id like
    
    <td id="tdid"></td>
    
    Code (markup):
    Then you will have to get that element using the getElementById and use innerHTml for writing to the td object.
     
    HivelocityDD, Aug 9, 2009 IP
Thread Status:
Not open for further replies.