我該怎麼做?如何在點擊一個複選框時禁用其他複選框?
- 如果點擊
Replacement of Registration
,禁用Honorable Dismissal
和Entrance Exam
- 如果
Good Moral Certificate
被點擊時,禁用Entrace Exam
- 如果
Honorable Dismissal
,禁用Diploma
,CUE Request
,CMI Request
,Entrance Exam
- 如果點擊
Transcript of Record
,禁用CUE Request
,CMI Request
,Entrance Exam
- 如果
Entrance Exam
,禁用所有
<input type="checkbox" name="ac_description[]" value="Replacement_of_Registration">
<input type="checkbox" name="ac_description[]" value="Good_Moral_Certificate">
<input type="checkbox" name="ac_description[]" value="Honorable_Dismissal " >
<input type="checkbox" name="ac_description[]" value="Transcript_of_Record">
<input type="checkbox" name="ac_description[]" value="Diploma">
<input type="checkbox" name="ac_description[]" value="CUE_Request">
<input type="checkbox" name="ac_description[]" value="CMI_Request">
<input type="checkbox" name="ac_description[]" value="Entrance_Exam">
<input type="checkbox" name="ac_description[]" value="School_fees-Medical/Dental_Laboratory">
<input type="checkbox" name="ac_description[]" value="School_fees-Transcript/Honorable">
<input type="checkbox" name="ac_description[]" value="School_fees-Library">
<input type="checkbox" name="ac_description[]" value="Affiliation_Fees">
你們是不是要禁止所有每當一個盒子已被檢查其他框或禁用一定的盒子? – spiritwalker
因此更改事件和邏輯 – epascarello
-if單擊替換註冊,禁用授予退出和入學考試 -if單擊良好道德證書,禁用入學考試 - 如果授予退休,禁用文憑,CUE請求,CMI申請,入學考試 -if錄製成績單被點擊,禁用CUE請求,CMI請求,入學考試 -if入學考試,全部停用 –