Hello,
I found a lot of so called ajax (jquery) solutions to protect mailto's, but i found them still quite tricky. They used [mailto]test[at]domain[dot]com and then jquery to convert it to mailto:test@domain.com.
But i don't think it's that safe.
Now, what i want to do is to call a javascript function with the ID of the contact person, in this case 5414, (<a onClick="mailtofunction('5414')">click to mail me</a>). In the function i would like to make an ajax call to retrieve the email address from the database (not too difficult so far), and then generate a mailto link without refreshing the page.
Is this possible? Anybody has an idea?
I think this would be the perfect save solution.. no?
Thanks a lot for any help,
Mark