Hide Email Address : Document : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Document »

 

Hide Email Address




<html>
<head>
<title>Hide Email Address</title>

<script language="JavaScript">

var before = "username";
var after = "domain";
var extension = "com";

document.write ("<a href='mailto:" + before + "@" + after + "." + extension +"'>" 
                before + "@" + after + "." + extension + "</a>");

</script>


</head>
<body>
</body>
</html>





           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Document