My requirement is to display a row if all drop downs in the above row s value is not "Select Answer".If Any drop down s answer is "Select Answer" all the drop downs in the below row of its row should be hidden. How can i achieve that. Any idea.
Below is my HTML code..
<table>
<tr>
<td>
<select id="S1" class="dropdown">
<option value="" selected="selected">Select answer</option>
<option value="1" >A</option>
<option value="2">B</option>
<option value="3">C</option>
</select>
</td>
<td>
<select id="S2" class="dropdown">
<option value="" selected="selected">Select answer</option>
<option value="1">A</option>
<option value="2" >B</option>
<option value="3">C</option>
</select>
</td>
</tr>
<tr>
<td>
<select id="S2" class="dropdown">
<option value="" selected="selected">Select answer</option>
<option value="1">A</option>
<option value="2" >B</option>
<option value="3">C</option>
</select>
</td>
<td>
<select id="S2" class="dropdown">
<option value="" selected="selected">Select answer</option>
<option value="1">A</option>
<option value="2" >B</option>
<option value="3">C</option>
</select>
</td>
</tr>
</table>