The fuel price's in my town are massive.
So, It's good to show where the best value is.
Pat

Code: Select all
$j(function(){
$j('.louth-entereddate').each(function(){
var Today = new Date();
var Yesterday = new Date();
if Yesterday.setDate(Today.getDate()-1);
$j(this).parents('tr').addClass('warning');
}
});
});
Code: Select all
<script>
$j(function(){
$j('.TABLE-NAME-FIELD').each(function(){
var QRZ = $j(this).text();
if(FIELD == 'NAME TO BE COLORED'){
$j(this).parents('tr').addClass('info');
}
})
})
</script>