I want to take a string that will be in a text field that looks something like:
This is <b>my</b> text.<br /> Here is a <a href="some.htm">link</a>.
I want to take and parse the string and make it look like this:
This is <b>my</b> text.<br /> Here is a <font color="#FF0000"><a href="some.htm">link</a></font>.
As you can see I just want to wrap a font tag around the <a> tag in the text field. I have a javascript that does SOMETHING like this but not quite and I am having some issues. Can anyone help?
Question
sgtpritchard
I want to take a string that will be in a text field that looks something like:
I want to take and parse the string and make it look like this:
As you can see I just want to wrap a font tag around the <a> tag in the text field. I have a javascript that does SOMETHING like this but not quite and I am having some issues. Can anyone help?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts