I am not very good at scripting. Searched but could not find exactly what I needed. Hopefully one of you experts will be able to assist me.
I have a web page where I have defined editable sections for my customer through a hosted CMS. The CMS allows the user to edit data so long as a specific CSS class is applied to it. An editable section looks something like this:
My users will update the Email Address between the paragraph tags. So far so good. But, I also want to make the Email Address a link. So now I have something like this:
<p class="editable><a href="mailto:xxxxx">EmailAddress@123.com</a></p>
So my question is, how am I able to grab the email address from between the paragraph tags and place it in the link before it? It shows xxxx in the link where i need the email address to be.
Thank you in advance.