2
I have a span
that depending on the value I wanted it to be red for divergence and blue if the data is acceptable, I tried this way:
getElementById('span').css('color', 'blue').innerHTML = <valor>
But this way it didn’t work, I saw in the documentation something like style
getElementById('span').style.color = "blue" //nesse caso como recupero o valor?
I couldn’t use it either, I didn’t want to use css. has some way to apply this effect?
thank you saved me again.
– WMomesso