Ah well, if its JavaScript thats a bit more interesting 😛 I've been working on something similar in a project that I'm almost finishing.
can you show me the HTML for the table? how many rows/cols ? what ones are you interested in monitoring.
There is a couple of was I can think off the top of my head, probably think of more tomorrow (its 2 am and i'm about to go to bed).
What I would suggest is, give the cells that you are interested in a unique CSS class. then use two of my functions as provided below;
function getElementsByClassName(className) {
var results = [];
walk_dom(document.body, function (node) {
var a, c = node.className, i;
if (c) {
a = c.split(' ');
for (i = 0; i < a.length; i += 1) {
if (a[i] === className) {
results.push(node);
break;
}
}
}
});
return results;
}
function walk_dom(e, f) {
f(e);
e = node.e;
while (e) {
walk_dom(e, f);
e = e.nextSibling;
}
}
to use these two functions you just need to do;
var r = getElementsByClassName("class name given to cells of interest");
// now you have an array of all the elements that interest you ;)
for(var x = 0;x<r.length;x++{
// looping through, do checks, make alerts, whatever
}
Hope that helps...
edit ugh, my formatting messed up in the top making it quite unreadable, sorry 😛 but i'm going to bed now.