Function used to exploit the capabilities of the mailto: URL feature of JavaScript.
JSV_mailTo(to, body, subject [, cc] [, bcc])
n/a
n/a
The mailTo function uses the following argument.
Argument | Description |
to | The e-mail address to which the e-mail is sent. |
body | The body of the e-mail message. |
subject | The subject of the e-mail message. |
cc | The e-mail address to which a carbon copy of the e-mail is sent. |
bcc | The e-mail address to which a b? carbon copy of the e-mail is sent. |
The mailto: URL feature of JavaScript is very powerful and underused. One of the reasons for its low usage is that developers are familiar only with its basic features and are not aware of its multiple attribute support. The mailto: URL supports not only the address of the mail message but also its cc, bcc, subject, and body fields. The ability to assemble a whole mail message by script ought to be more popular among those sites promoting their readers to send such things as their feedbacks, bug reports, complaints, and praises.
n/a
The following lines of code
var i = 0;
produce
Copyright © 2000 Roaring Fork Software. All rights reserved.