473,326 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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

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=(shippingZi p.value);"

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

But that didn't work.

Any help would be appreciated.

Best,
Matt
Oct 28 '19 #1
1 1670
gits
5,390 Expert Mod 4TB
the p-tag has no value property. use innerText or innerHTML for it. You could even use createTextNode and append the node to the position you want it to have.
Oct 29 '19 #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,...
3
by: rameshbabu1251 | last post by:
hi i am getting trouble in displaying text field value as web page title on entering text in text field. can any one help me solving this problem here my code <html> <head> <script...
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"?>'; ?>...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.