Hi,
I want to create a form that will send me the data through E-mail and then take the user to another HTML page. Can this be achieved with HTML and JavaScript?
Example:
<!------------ --------------->
<html>
<body>
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
<h3>This form sends an e-mail to an E-mail address specified.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value=http://www.webdeveloper.com/forum/archive/index.php/"Send">
<input type="reset" value="Reset">
</form>
</body>
</html>
<!------------ --------------->
The above code will send an E-mail to me. How can I take the user to another page after he clicks SUBMIT? For example, <!-- m --><a class="postlink" href="http://www.yahoo.com">http://www.yahoo.com</a><!-- m --> or a THANKS! page.
At least, I want to display a window showing acknowledgement.
Expecting your help,
Susha John.
I want to create a form that will send me the data through E-mail and then take the user to another HTML page. Can this be achieved with HTML and JavaScript?
Example:
<!------------ --------------->
<html>
<body>
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
<h3>This form sends an e-mail to an E-mail address specified.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value=http://www.webdeveloper.com/forum/archive/index.php/"Send">
<input type="reset" value="Reset">
</form>
</body>
</html>
<!------------ --------------->
The above code will send an E-mail to me. How can I take the user to another page after he clicks SUBMIT? For example, <!-- m --><a class="postlink" href="http://www.yahoo.com">http://www.yahoo.com</a><!-- m --> or a THANKS! page.
At least, I want to display a window showing acknowledgement.
Expecting your help,
Susha John.