Json Ajax和Javascript

I just want to know how I can make periodically check for any update and reflect the change in relevant cell if it gets updated and should flash it along with changing the color to red/green based on negative or positive change if it is a numeric value.

Using Jquery, Ajax and json...

Regards Nidhi...

<style>
.good{
   border:solid thin #green;
}
.bad{
   border:solid thin #red;
}
</style>
/// your ajax call can be simple like this
<script>
var url = 'your file where your php code while procces.php';
$.post(url,{'varname':'varvalue'},function(data){
   if(data == '.. your control value 1'){
      $('your div you want to cahnge').addclass('.good');
   }else{
      $('your div you want to cahnge').addclass('.bad');
   }
})
</script>