可能重複:
jQuery disable SELECT options based on Radio selected (Need support for all browsers)jQuery函數它過濾單選按鈕值
我有兩個單選按鈕
<html>
<input type="radio" class="status" name="status" checked="checked" value="New" />New
<input type="radio" class="status" name="status" value="Used" />Used
<select id="Insurance_type">
<option>Home Used Insurance1</option>
<option>Home New Insurance1</option>
<option>Home Used Insurance2</option>
<option>Home New Insurance2</option>
</select>
</html>
我需要一個jQuery腳本時我選擇新的單選按鈕,它將過濾下拉列表。我將只有新的保險類型。
? – Vivek 2011-06-16 09:08:35
我需要過濾下拉列表中的值:例如,如果我檢查新的,我應該有家庭新保險1和家庭新保險2 – sally 2011-06-16 09:10:52