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.