我想的是,如果某個選項,從下拉菜單中選擇了文本框時,纔可訪問,我有如下的HTML表單:啓用選項文本選自/禁用下拉菜單
<tr>
<td>a. Did any of your staff participate in training or orientation sessions related to any aspect of social performance management, during the reporting year? </td>
<td >
<p>
<select name="mfi_4_a_i">
<option>Yes</option>
<option>No</option>
<option>No, but planning in future</option>
</select>
</p>
<p>if not,and not planning please explain why not </p>
<input type="text" name="mfi_4_a_ii" id="sdd" />
</tr>
現在,當用戶選擇否選項,但在將來計劃時,必須啓用文本框,否則必須禁用文本框。
我該如何做到這一點?
重複[問題](http://stackoverflow.com/questions/5255969/how-to-make-a-checkbox-enable-and-禁用一個文本框在多個案例)由同一用戶 – diEcho 2011-03-10 10:27:21