Thursday, June 23, 2005

Q134 Is it possible to send an email from a JavaScript?

Q134 Is it possible to send an email from a JavaScript?: "Q134 Is it possible to send an email from a JavaScript?

Using an HTML link:

email someone

Using a Form:




Both methods suggested are completely non-JavaScript methods - but possibly useful nevertheless.

The ACTION='mailto:...' works on some other browsers than just Netscape, although its effect is undefined by the specifications.

In HTML, you can also use forms to set up possibilities for sending E-mail from Web pages - take a look at the list of JavaScript Email articles for further information.

Thanks to Jukka Korpela for updates to this answer."
Post a Comment