PDA

View Full Version : HTML forms and passing parameters


msuk
11-16-2004, 09:27 AM
All,

I have a HTML form that has the following text 'XXXX Welcome'

I would like to use a button that when clicked will strip out the XXXX part and send it to another HTML page that displays it in a text box. Does anyone know how I can achieve this?

Thanks
Msuk

123456789
11-16-2004, 04:09 PM
What are you trying to pass?

msuk
11-16-2004, 08:08 PM
Hi,

I am trying the pass whatever value XXXX for example 'fred'

So if the text says 'Fred welcome' I would like to pass the text 'fred' to another HTML page that displays it in a text box.

Thanks

123456789
11-16-2004, 08:19 PM
If you're using JavaScript, you could have a hidden input box?

Jon Hanlon
11-17-2004, 06:41 PM
See my essay on this http://www.htmlforums.com/showthread.php?s=&threadid=14790