submit formvalues with javascript

M

Martin Nadoll

Hello,

is it possible, to submit the values from a web-form with javascript, so
that i dont need cgi or php?

Thanks for any help,
Martin Nadoll
 
L

lallous

submit? you mean send the form data to yourself using javascript only?
AFAIK, you can't do that using javascript only you would need server side
code help.
 
E

Erwin Moller

Martin said:
Hello,

is it possible, to submit the values from a web-form with javascript, so
that i dont need cgi or php?

Where do you want to send it to?
To another window? (possible)
To your emailadres? (not possible AFAIK)
 
J

john

Yes, it is possible, but only if you are sending the data to another
page...anything else would require php.

You can then send them to another page via hidden input fields:

<form method="POST">
<input type="hidden" name="foo" value="fromOriginalForm">
<input type="hidden" name="bar" value="fromOriginalForm2">
</form>

You can then retrieve these values on the receiving page.
 

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

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top