Skip to content
Advertisement

How to change background-color of one row from table in PHP

[1]https://i.stack.imgur.com/413Bh.png

[2]https://i.stack.imgur.com/lUO2i.png

Hi, can someone HELP me with this problem? I need to change color of the row where is checkbox checked.

JavaScript

This is my checkbox system.

JavaScript

This is my css

JavaScript

Thank you for all tips

Advertisement

Answer

Here is an example to follow :

Be sure to include the jquery lib in your web app.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement