Skip to Content Skip to Menu

Email anchor tags turning to "..." when selected by jQuery

  • shenkwen
  • shenkwen
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
10 years 4 months ago #245896 by shenkwen
I'm using Joomla 3.0 + CB 1.9.1.
There seems to be a email cloaking mechanism with CB but I can't find where to disable it.
I am trying to use jQuery to read email addresses from my user-list page, the code is like

var e = $('span.cbUserListFC_email>span').html();

but the value of e will be "...", instead of something like '<a href="myemail@gmail.com">myemail'.

I even tried to modify PHP file, outputting the variable containg email anchor tag to error_log, but the output is still "...".

I disable joomla's email cloaking already, and have no trouble using jquery to get email anchor tag else where on my site.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum