[jQuery] JQuery and Maybe IFrame Problem?
Hello,
I am defuscating my email on the client as follows:
$("span,a[href^=mailto:]").defuscate();
Is is working! So:
<a href="mailto:info(AT)domain.com" class="Email">info(AT)domain.com</
a>
Becomes:
<a href="mailto:info@domain.com" class="Email">info@domain.com</a>
However, this is not working when the email is inside TinyMce:
<iframe id="Text_ifr" frameborder="0" src="javascript:"""
style="width: 100%; height: 104px;">
<html>
<head xmlns="http://www.w3.org/1999/xhtml">
</head>
<body id="tinymce" class="mceContentBody " spellcheck="false"
dir="ltr">
<a class="Email" mce_href="mailto:info(AT)domain.com"
href="mailto:info(AT)domain.com">info(AT)domain.com</a>
Maybe this is because the email in the TinyMCE is inside an IFrame?
How can I solve this problem?
Thanks,
Miguel
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home