I have a paragraph in my document that I want to have a little bit of code inside of it. I want this code to have an updating number using javascript (this part is solved), and have it keep updating the tooltip. This tooltip will also need the color white and red in it (this is not solved, I can't figure out how to have several colors in the tooltip), instead of changing its color with CSS alone. My code is
<p data-placement="bottom" data-toggle="tooltip" title="<p style = 'color:red'>Fo<span style = 'color:white'>o</span></p>">Test</p>
yet all that shows up is
<p style = 'color:red'>Fo<span style = 'color:white'>o</span></p>
instead of the wanted result of a red and white foo. As a recap, I need an updating title element that can be two different colors, and can be updated using javascript You can see my code here.