<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js">
</script>
<script type="text/javascript">
$(document).ready(function(){
$Text = $('td .ms-vb2:lt(50)').css('background-color', '#FF0000');
});
</script>
I have used the above code to highlight negative values.
(I have written 50 since with 0 it did not work)
The lines highlighted do not necessarily have values below 50 so I am not sure that the above script is supposed to do.
My need is to highlight the cell or the whole line if a value (in this case currency so it might have Fr. or $ before) is below zero.