473,471 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

2 New Member
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 2374
dev7060
638 Recognized Expert Contributor
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

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

Similar topics

5
by: Mikko Rantalainen | last post by:
See example at <URL:http://www.cc.jyu.fi/~mira/moz/formtest.php>. The problem is that the label of submit button is always centered on the button regardsless of 'text-align' property in CSS....
1
by: cc0274754 | last post by:
I currently use a switch case structure to display text so different stuff appears each day of the week. It is a pain in the butt to put the text in "document.write" statements. Is there any way...
1
by: Alex Shirley | last post by:
Hi I want to display text as a bitmap in ASP.NET (VB). It's so I can use this to test whether a person is actually is a person when they log on, and not an automated process (i.e. spammer or...
13
by: DH | last post by:
Hi, I'm trying to strip the html and other useless junk from a html page.. Id like to create something like an automated text editor, where it takes the keywords from a txt file and removes them...
2
by: heinz | last post by:
What control is best to display ordinary text on an aspx web page? For example, a short newspaper article as the main content. In html is just in a table, but whats the best way of doing it in...
1
by: sadf | last post by:
I am new for web development in asp.net. i want to display .text file on the web page. please help me!
9
by: Edward | last post by:
IE6 only displays certain text on my site if you mouse over it (!). I reduced the HTML down to this code below which still shows this effect/bug. My temporary solution was to take out all the...
8
by: Bruce A. Julseth | last post by:
I'm "Failing" a trying to create a multicolum text input page. I have found many examples of two column pages where the first column is the field label and the second column is input text box. But,...
1
by: LugNut29 | last post by:
Hi All, I am trying to write the name="fname" & name="age" to a .txt file, but it's not writing those two things to the file. <?php echo '<?xml version="1.0" encoding="IUTF-8"?>'; ?>...
1
by: mattkrebs | last post by:
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.