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

Feedback on: irt.org FAQ Knowledge Base Q134

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.