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)

16th Sep 2019, 7:49 PM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar
4 Antworten
+ 4
Ok then this is perfect for you: https://dom.spec.whatwg.org/#interface-mutationobserver With this you can catch Dom changes
17th Sep 2019, 5:08 AM
Dejan Dozet
Dejan Dozet - avatar
+ 2
How you know that value in a cell is changed?
16th Sep 2019, 8:48 PM
Dejan Dozet
Dejan Dozet - avatar
+ 1
Show your code
16th Sep 2019, 7:51 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
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
16th Sep 2019, 8:51 PM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar