Write email addresses like this in your source to (hopefully) make them a little harder to scrape and spam:
[js]Need info? Email me: <span class="obs">info [at] example [dot] com</span>[/js]
Use jQuery like this to convert back to regular mailto links:
(Alter the selector as needed)
[js](function() {
var address;
jQuery(‘#content span.obs’).each(function(i, el) {
address = el.innerHTML.replace(/\[ ?at ?\]/g, ‘@’);
address = address.replace(/ /g, ”);
address = address.replace(/\[ ?dot ?\]/g, ‘.’);
jQuery(el).html("<a href=’mailto:" + address + "’>" + address + "</a>");
});
})();[/js]