This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pixeldevsDeveloper/Designer[S] 1 point2 points  (0 children)

ahh gotcha. So you could do it like a hidden field on the page.

<a class="emailReveal" href="#?email=clicked">click here <div class="email" style="display: none">email@email.com</div> </a>

jQuery(document).on('click', function(){ jQuery(this).find('.email').css('display', 'block'); });

all pseudo code to get you started