By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,684 Members | 1,824 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,684 IT Pros & Developers. It's quick & easy.

submit formvalues with javascript

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.

--
Elias
http://lgwm.org/
"Martin Nadoll" <ma****@nadoll.de> wrote in message
news:bj*************@news.t-online.com...
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

Jul 20 '05 #2

P: n/a
Martin Nadoll wrote:
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)


Thanks for any help,
Martin Nadoll


Jul 20 '05 #3

P: n/a
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.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.