469,954 Members | 1,921 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,954 developers. It's quick & easy.

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.getElementById("text").value=(shippi ngZi 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
Nov 14 '20 #1
1 2153
dev7060
535 Expert 512MB
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.getElementById("text").value=(shippi ngZi p.value);"

to a function --- with "<p id="text"></p>" in the HTML
Use the innerHTML property.
Nov 14 '20 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Mikko Rantalainen | last post: by
1 post views Thread by cc0274754 | last post: by
1 post views Thread by Alex Shirley | last post: by
8 posts views Thread by Bruce A. Julseth | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.