Form Gathers Email Sends Email

[Total: 0    Average: 0/5]

Form gathers email and sends email via POST method.

Head Code:

<script language="JavaScript">
<!--
function dothis()
{
var _form=document.myform;
var _who=_form.ename.value;
_form.action = "MAILTO:"+_form.ename.value;
return true;
}

//-->
</script>

Body Code:

<form name="myform" method="post" onsubmit="return dothis();">
Email Address: <input type="text" name="ename" size="20" value="">
<BR>
<input type="submit" value="Submit it">
<input type="reset" value="Reset">
</form>

Times Viewed: 4

Leave a Reply

Your email address will not be published. Required fields are marked *