Tag Archives: security

Hiding email from spam-bots

In your HTML:

Here is JavaScript's part:




Ok, and now jQuery's version:
emailE=('mail@' + 'mal.com');
var neededDiv =  ('#js-m-pr');
if($(neededDiv)!=null){
 $(neededDiv).html('' + emailE + '');
}

source