I have a long line of text, and I want to ID just part of it so that I can change that part of the text with a function.
My code works fine:
<p class='Text'><var id='count'>ChangeThis</var>... more text I don't want to change
and I change ChangeThis with:
As I say the code works fine, but it's causing the text to be Italic. All the tags I have tried affect the appearance of the text.
It would be easy if I wanted to change all the text as I could simply put the ID in the <p>. But I only want to change some of the text inside the <p>.
What tag can I use to isolate the text I want to change? <var> makes it Italic.
Thank you, Peter