I am new to jQuery!
I am having one table which load data from server using ajax\jQuery on every x seconds, data receiving in JSON format, My problem is that I want to update only particular cell if value is changed or new.. How do I compare old data with new data as new data are coming in JSON format and old data reside in tables.....
Here is my code:
window.setInterval(function() {
// this code will execute on every 5s
// so we could send an AJAX request to verify if we
// have new data. Example with jQuery:
$.getJSON('/foo', { }, function(result) {
});
}, 5000);