Table background | SoloLearn: Learn to code for FREE!

0

Table background

Hi, I need to find a way so that when a value in an html table changes it also changes its background. I managed to do it only that it is static and the table does not change again. (With JS)

9/16/2019 7:49:55 PM

Ramphy Aquino Nova

4 Answers

New Answer

+4

Ok then this is perfect for you: https://dom.spec.whatwg.org/#interface-mutationobserver With this you can catch Dom changes

+2

How you know that value in a cell is changed?

+1

Show your code

0

de do Good question. I only see that it changes, I also thought about doing some event when something happens. the truth is that my question goes for something more complex, a list in Sharepoint, but, I start with the easy thing. I just need to find a way in which the script always runs so that it does the automatic control