You are here: irt.org | About | Feedback | 3759 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q134
Sent by
Paul on April 08, 2002 at 00:25:20:
Worth:
Very worth reading
Comments:
It is possible to set up an href anchor with no text in the display area, and giving it an ID for scripting purposes, and an href of "". It is effectively invisible on the page.
Then use it programmitically to send emails as desired accessing the HREF attribute. E.g.
<A href="" id="sendEmail"></a>
Then somewhere in JavaScript ..
sendEmail.href='mailto:dahdah@there.com?Subject=This Stuff?Body=Something';
sendEmail.click();
The sendEmail object can be frequently recycled, and the href part can be built programmitically.
Other feedback on 'irt.org FAQ Knowledge Base Q134' - show all