Password protection usually has n problems, so that two or three of them can be selected, and no duplicate problems can be selected. This requires confidentiality protection and mutual exclusion. The specific implementation is as follows. If you have such requirements, refer
Mutual Exclusion of confidentiality protection:
Password protection usually has n problems, so that two or three of them can be selected, and no duplicate problems can be selected. This requires the confidentiality protection to be mutually exclusive.
The effect is as follows:
I use jquery to implement mutual confidentiality protection. It is used to solve mutual exclusion issues such as confidentiality protection and voting. It supports most browsers such as ie6 +, Firefox, Google, and opera.
Demo download: http://download.csdn.net/download/cwqcwk1/5956141
Key code:
The Code is as follows: