Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q208 How can a user enter their email address in a form and then have the email sent to themselves?

irt.org | Knowledge Base | JavaScript | Email | Q208 [ previous next ]

Q208 How can a user enter their email address in a form and then have the email sent to themselves?

Only on Netscape:

<form action="" name="myform" method="post" enctype="text/plain"
onSubmit="document.myform.action = 'mailto:' + document.myform.myemail.value">
Email address: <input type="text" name="myemail">
</form>

Feedback on 'Q208 How can a user enter their email address in a form and then have the email sent to themselves?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.