If a user chooses "saab" from the dropdown list. I would like to disable the row (except the dropdown list) and clear the text from content.
for example: User clicks on "saab" in the first row. I want to disable the first row (but he can keep choose another option from the dropdown) and clear the text from content.
till he chooses "Volvo" and I enable him the row.
<table>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
</tr>
<tr>
<td><select name="cars" id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</select></td>
<td><input type="text" id="fname1" name="fname"></td>
<td><input type="text" id="fname2" name="fname"></td>
</tr>
<tr>
<td><select name="cars" id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</select></td>
<td><input type="text" id="fname3" name="fname"></td>
<td><input type="text" id="fname4" name="fname"></td>
</tr>
</table>
Thanks.