/    Sign up×
Community /Pin to ProfileBookmark

Easy one… Display textarea content elsewhere on the same page

Hi all,

I have a simple[I] how to [/I]question and I’m fairly sure the answer is equally simple, however I’m new to web developing and searching the web didn’t help me any further either. Maybe the question hasn’t been raised because the answer is too obvious? 😮

Anyway: I want to have one classic textarea/textbox with a submit button, such that when some one enters text in this area and hits the submit button, this same text is displayed elsewhere on the page (this may be displayed in a second textarea as long as I can hide its area borders so it looks as if the text gets displayed on the page itself). Preferably, the input text in the first area should be pretty standard, but the displayed content should be larger and in a different font.

I’m SURE lots of you can provide me with the right code to do this ?

Thanks!
Afterburn

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@AfterburnauthorNov 23.2010 — I might want to add the following:

The end result should be that when this page is online, person A can enter his text in the textarea and submit to display it. When one hour later person B is on the page, the content as submitted by person A should still be visible to person B.

This might make things a bit more complex, I don't know? Maybe this involves PHP? And I'm not familiar to that either.
Copy linkTweet thisAlerts:
@yamaharussNov 23.2010 — Making the textbox content display in another div is pretty simple but making user A's response show in the same div for user B is definitely going to require server-side coding which by your description of experience level, may be beyond the scope of your ability..
Copy linkTweet thisAlerts:
@AfterburnauthorNov 23.2010 — Making the textbox content display in another div is pretty simple but making user A's response show in the same div for user B is definitely going to require server-side coding which by your description of experience level, may be beyond the scope of your ability..[/QUOTE]
Well, if I could get some sort of demo on how to set this up, it may be a start in the right direction ?
Copy linkTweet thisAlerts:
@yamaharussNov 23.2010 — OK, what server-side language do you work with and do you have a database available?
×

Success!

Help @Afterburn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...