I used to use this script for jquery email obfuscation:
$(\".replaceAt\").replaceWith(\"@\");
$(\".obfuscate\").each(function () {
$(this).attr(\"h
So I dug around in the jQuery release notes, and it might be related to this bug which was fixed in the 1.4.2 release. At any rate, I can verify that your script works great in 1.4.2. Hope this helps.
Edit:
$(document).ready(function() {
$(".replaceAt").replaceWith("@");
$(".obfuscate").each(function () {
$(this).attr("href", "mailto:"+$(this).text());
});
});