Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q219 Is it possible to submit a form with a mailto: action?

You are here: irt.org | FAQ | JavaScript | Email | Q219 [ previous next ]

<form action="mailto:someone@somewhere.com" name="myForm">
<input type="submit" name="mySubmit">
</form>

<script language="JavaScript"><!--
document.myForm.mySubmit.click();
//--></script>

Note, Internet Explorer does not support mailto: within forms.

Feedback on 'Q219 Is it possible to submit a form with a mailto: action?'

©2018 Martin Webb