How do I display text given (by the person writing in an input box in my page) ?.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexsunny123
    Banned
    New Member
    • Oct 2020
    • 2

    How do I display text given (by the person writing in an input box in my page) ?.

    Hello,

    I know I can reproduce what is written in input boxes in other input boxes --- like with "shipping" and "billing" addresses.

    However, I haven't been able to make it so I can present that entered data somewhere else - like when people enter data on a website and then there answers show up in "Settings."

    I tried adding: "document.getEl ementById("text ").value=(shipp ingZi p.value);"

    to a function --- with "<p id="text"></p>" in the HTML

    But that didn't work.

    Any help would be appreciated.

    thanks
    alexsunny
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    I know I can reproduce what is written in input boxes in other input boxes --- like with "shipping" and "billing" addresses.

    However, I haven't been able to make it so I can present that entered data somewhere else - like when people enter data on a website and then there answers show up in "Settings."

    I tried adding: "document.getEl ementById("text ").value=(shipp i ngZi p.value);"

    to a function --- with "<p id="text"></p>" in the HTML
    Use the innerHTML property.

    Comment

    Working...