I want to create an email pop up window when an email address is clicked. Right now I have an email address click-able with a HTML link <a>
. I know HTML has a mailto
element but I do NOT want to launch the user's email program to email. I would like to email directly from the form. I have seen some PHP examples such as a "contact us" form where a business's (receiver) address is predefined in a PHP file. But I want to be able to email to the email address that is clicked on. So I need to be able to dynamically change receiver email address to the email address that is clicked on.
Any advice for these problems?
I'm not to familiar with PHP or JavaScript but I'm thinking this is possible.
Thanks