I'm using a javascript mail form, which works fine. But I would like to modify the submit button so that on mousedown it also goes to a confirmation page. How do I right this into the javascript? [sig][/sig]
<SCRIPT LANGUAGE="javascript">
function doVerify()
{
location.href = "thanks.html"
}
</script>
<!-- END OF SCRIPT -->
<BODY BGCOLOR="FFFFFF">
<font face=arial><font size=2>
This JavaScript will email the input to you and send the user,
after clicking send it to a "Thank You" page or something
of that sort.<p>
<FORM method="POST" action="mailto:somebody@some.net" onSubmit="alert('Mail is being sent')">
<B>Please enter your name: </B><input NAME="username" size="30">
<input type=submit onBlur="doVerify()" value="Send it!">
<input type=reset value="Start over">
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.