Yep, it's the ones that should be picked up with:
Code:
function StartFlashing(){
var rowArray=document.getElementsByTagName('tr');
for (i=0;i<rowArray.length;i++)
{
if (rowArray[i].getAttribute('flash')=='true')
{
changeColour(rowArray[i].id);
}
}
It's only if the attribute flash is true that it calls the changeColour method - which is where it's going wrong.
I think that changeColour(rowArray[i].id); that isn't working right.