/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function createJSMailLink($email) {
}
return <<<EOL
<script type="text/javascript" charset="utf-8">
var _ed = "";
var _en = new Array({$asciiString});
for(var a = 0; a < _en.length; a++) {
_ed += String.fromCharCode(_en[a]);
}
document.write("<a href=\"" + "mailto:" + _ed + "\">" + _ed + "</a>");
</script>
EOL;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                