I have an icon on my website that I am developing and need it's hyperlink to do 2 different things.
input type="submit" value="send email" name="submit"
First action will do this :-
form action="/cgi-bin/formmail.pl" method="POST"
this will post me a copy of the form that has been filled in and I can manually add it to a database. (can I send this silently ?)
The second action I need it to do is open a mailto: box eg :-
a href="mailto:different-email@mywebpage.com"
The reason I need to do this is the second action when it goes to that different e-mail address will send a link via my autoresponder and will also assist me in valid e-mail as if not a proper e-mail addy they won't receive the link. Very crude but will do what I want.
Summary: I need one hyperlink but to carry out 2 different jobs. Is this possible ??
Thanks in advance,
mobi.
Social Networking Bookmarks