checkbox + jQuery

checkbox + jQuery

Hello,

I come to you because for some time I have been looking for the solution to my problem.

I have a checkbox list with the same id each time.

In my js I use the function (checkedval, optval), and I would simply add the class: active if the checkbox of the spotlight id is checked.


thank you in advance