1
我有5个复选框。 我想显示DIV(类= “hideDiv”)仅当3TD复选框被选中(值= “3”)显示特定复选框的DIV
<td class="longLabel">
<p><input type='checkbox' class='tinyField' name='statusID_Array[]' value='1' /> <label>Waiting for support to reply</label></p>
<p><input type='checkbox' class='tinyField' name='statusID_Array[]' value='2' /> <label>Waiting for customer to reply</label></p>
<p><input type='checkbox' class='tinyField' name='statusID_Array[]' value='3' /> <label>Solved</label></p>
<p><input type='checkbox' class='tinyField' name='statusID_Array[]' value='4' /> <label>QA</label></p>
<p><input type='checkbox' class='tinyField' name='statusID_Array[]' value='5' /> <label>Waiting for programmer to reply</label></p>
</td>
<div id='3' class="hideDiv" style='display: none; clear: both'>
content
</div>