Hello all,
I'm still a newbie to ASP except hacking away at Bruce's forum. Anyway, heres the question:
Is there an ASP script or function that will generate (or write) an email link in a browser without revealing the email in the source code?
I understand that response.write is processed at the server and displayed to the browser in the HTML, but I am wondering if there is something similar to this javascript implementation:
<script type="text/javascript">
user ="rex"
domain ="rexpage.com"
subCon ="Javascript Email"
document.write('<a href="mailto:' + user + '@' + domain +'?subject=' +subCon+' " ' +' >Contact Us</a>');
</script>
Obviously this is to try and slow down the tide of spam. I have placed the javascript in its own asp page and just use includes; however, if a user has scripting turned off in the browser this presents a problem. I thought of using ASP variables or a function but can't figure out how to display the email reference without using a response.write which will display in the html.
Any advice or feedback is apprectiated.