0

I have a table and I am dynamically add the value in each table cell from FireBase. I want to add a "flash" or "blinking" effect everytime that cell changes. So I need to be able to detect when the content of that has changed.

zhs
  • 69
  • 1
  • 10

1 Answers1

0

For anyone who is still looking and stumbles across this question, I've found the solution here, posted by @Rohan Kumar, which uses the DOMSubtreeModified

Call a Javascript function when a table change content

$("#mytable").bind("DOMSubtreeModified", function() {
    alert("Hurrey table changed");
});
AKR
  • 1