Check box and drop-down box

xiaoxiao2021-03-06  38

In the evening, a member of Fujian on QQ has a doll to achieve this effect:

A check box, a drop-down box, when the check box is hitting the champion, turning off the champion, turning off the hook, becomes a gray (ie DISABLED). Even I think, very simple, a few lines of code It can be realized, the test code is as follows: