I treid to make my E-Mails Spamsicher with this Javascriptcode.
Code:
<script type="text/javascript">
var Satz = '<xsl:value-of select="data [@alias = 'E-Mail']" disable-output-escaping="yes"/>';
var Woerter = Satz.split("@");
document.write("<a href='mailto:\" + Woerter[0] + \"@" + Woerter[1]\"'>E-Mail</a><br/>");
</script>
i get the E-Mail with an Textfield from my Site, split it and give it Back as an Javascript String. That´s the Plan.
But i have an masking Probleme in my document.write!
Can somebody help me? I don´t frind my Error right now, but i need it! :blush:
I Love umbraco