Displaying input-variables

L

Leon Hoeneveld

Hello group,

I want to have a html where a user can input his name with a
submit button and the next page displaying that name.

How do you do that?

On the first page:
<input type="text" id="name">

But on the second page?

<p> Hello $name </p>?????

Is it possible without PHP or similar.

Regards, Leon
 
S

SpaceGirl

Leon said:
Hello group,

I want to have a html where a user can input his name with a
submit button and the next page displaying that name.

How do you do that?

On the first page:
<input type="text" id="name">

But on the second page?

<p> Hello $name </p>?????

Is it possible without PHP or similar.

Regards, Leon

No.

can only be done (easily) using a server side language.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
H

Hywel

No.

can only be done (easily) using a server side language.

Well, you could use JavaScript to do it. Reliability/JS turned
off/blah/blah/blah/blah/blah.
 
L

Leon Hoeneveld

Hywel said:
Well, you could use JavaScript to do it. Reliability/JS turned
off/blah/blah/blah/blah/blah.

Do you have an example how to pick up the variable in JS?

Regards, Leon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top