<script>
$(document).ready(function() {
var refreshId = setInterval(function() {
if ($('#recent td') > '200') {.css("background-color", "#1eff00")};
},1000);
});
</script>
The above is what i'm trying to achieve but its definitely not working!
I have a table being outputted by PHP from a MySQL Db but i need to highlight a cell if the value is above 200 (or any value) is this possible with jQuery? #recent is the table id!
Thanks