By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,553 Members | 870 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,553 IT Pros & Developers. It's quick & easy.

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

P: 2
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
2 Weeks Ago #1
Share this Question
Share on Google+
1 Reply

dev7060
Expert 100+
P: 336
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.
2 Weeks Ago #2

Post your reply

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