[Javascript] submit to 2 adresses

Daniel Buus javascriptlist at rhesusb.com
Fri Jun 6 03:48:19 CDT 2003


Hello =)

Why not just create an extra page, "formhandler.html", let it collect the
form data and process it whichever way you want.

Then you'd just use "action=formhandler.html".

Probably not the most clever way, but it'd work =)

Alternatively, you could make a javascript function to read the form data
when the submit button is clicked, and have it process it. Like:

<INPUT TYPE=button NAME=Submit VALUE="Submit" onclick="processData()">

and write the function

function processData() {
    // Code for http://send.formmailer.com/
    // Code for #@student.fcj.hvu.nl
    // Other code to say "thanks" or whatever ;)
}


Daniel
--------------------
There are 10 kinds of people: Those who know binary and those who don't.


More information about the Javascript mailing list