Using jquery to control checkbox? The premise is that when the php value is set.

this situation is a bit complicated.
the front end shows:
first of all, I have a list that will have the member"s name plus checkbox (follow)
on a date I will display the name of the member with the last day
PS:. My form does not have a subscription, press the button in the calendar and display the following directly.

clipboard.png

:
clipboard.png

:
clipboard.png

php:

clipboard.png

id
2018-04-03 id
clipboard.png

I want to let him know that someday something has been disabled, so the subscription item will be checked
, but how can I tell the front-end members that they have selected it? What should I do about this?


traverses checkbox , compares the id corresponding to each checkbox with the selected id , and determines the status of checkbox according to the comparison result

.
Menu