Posts by Alexandre Nascimento • 1 point
1 post
-
0
votes2
answers325
viewsA: How to change the background color of an html table with javascript
Hello see if adding a class you can do, follow an example: function myFunction() { var element = document.getElementById('td'); element.classList.add("classeComFundoVermelho"); }…
javascriptanswered Alexandre Nascimento 1