When you have a form and a submit button, is it possible to use JavaScript to send the contents of the form directly to an email address?
I am imagining there is a simple way to do this, but I can’t find anything on this subject.
The following code simply brings up outlook, but is there a more direct way to do it?
<form action=”MAILTO:
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=”Send”>
<input type=”reset” value=”Reset”>
</form>
Can someone help me with this noob question?