Ok guys, I have a form I want to email the data to my email addess. There are three inputs, two text and one text area. On submit I would like it to display a thank you page. Whenever submit is clicked, I get a script error(thank you page never shows) and the hotmail pops up. I would like the form to just send the email without a pop up and go straight to the thank you page. Here is the code:
<form id="getquote" action="maileto:me@gmail.com" method="Post" enctype="multipart/form-data" name="form1" onSubmit="return location.replace(thankyou.html)">
<table class="no_class" cellspacing="0" cellpadding="0">
<tr>
<td style="width:265px;">
<div class="form"><input type="text" name="yourname" value="your name" onFocus=value="" onblur=value="your name"></div>
<div class="form"><input type="text" name="email" value="e-mail" onFocus=value="" onblur=value="e-mail"></div>
</td>
<td >
<textarea rows="20" cols="50" name="message" onFocus=value="" onblur=value="message:">message:</textarea><br>
<br style="line-height:7px;">
<input type="submit" value="Get Quote!" onClick="parent.location='mailto:lancerayburn@gmail.com'; replace(thankyou.html)" style="margin-left:140px"><input type="reset" value="Reset" style="margin-left:27px"><br>
</td>
</tr>
</table>
</form>
Thanks in advance for any help.