2
It is possible to scan a div and return its value. For example:
<div class='result' id='add9' align='middle'> 1</div>
<div class='result' id='add9' align='middle'> 2</div>
<div class='result' id='add9' align='middle'> 3</div>
We have a div with value 1, value2 and value 3. Below, you have this syntax via jquery:
$( "td" ).find( "div" );
This syntax scans the DIV and does something with it. With you after "sweeping" the div, do a comparison of the returned values? Using as an example the values above: 1, 2, and 3?
Grateful.
I can for example set a color="red" if the value is equal to 2 for example? How could I do it? Grateful.
– user54154
@user54154 yes, I added one more example.
– Sergio
It worked. Thank you very much.
– user54154