can anyone help me pls thanks!!

admin

Administrator
Staff member
i wanna make a form that after the user fill up it will post (outlook express pop up and already filling the sender address and all the form input "value"will be in the body of message) however, i only can do the sender email automatically filled but the rest i also not sure...... can anyone check my script and pls tell me what wrong n how to create it using easier way. By the way , i just start learn java

<SCRIPT language="JavaScript">
<!--
function e_submit(e_add, e_body)
{
window.location="mailto:"+e_add+"?body="+e_body;
}
//-->
</SCRIPT>

<P>
<FORM name="e_form">
<p>
<INPUT name="emadd" type="hidden" value=http://www.webdeveloper.com/forum/archive/index.php/"[email protected]">
<p>

<p>&nbsp;

<p> Name:
<INPUT name="name" type="text" id="name">
</p>
<p> Phone no:
<INPUT name="phone" type="text" id="phone">
</p>
<p> e-mail :
<INPUT name="email" type="text" id="email">
</p>

<P>

<INPUT TYPE="button" Value="submit" onClick="e_submit(this.form.emadd.value,this.form.phone.value)">
 
Back
Top