I have span code:
<span style="width: 93%;"> <b>93%</b> <span>
<p> Task completed in **[percent value from span here]** </p>
show this text and hide 2 classes (progress bar and image)
<p> **[percent value from span here]** left to complete the task </p>
Thanks you a lot!
If you are looking for a way to alter CSS or show an hide based on the span value, onchange will be the way to go. This specific part for span with onchange is covered in the following thread:
Trigger for span text/html on changed