I have the following form fields:
<label for="carrier_sold">Carrier Sold: </label>
<select name="carrier_sold" id='carrier_sold'>
<option id='carrier_sold' value="" selected="selected"></option>
<option value="MetLife">Metlife</option>
<option value="Travelers">Travelers</option>
</select>
If I select the value Metlife I need to get Bill,Full as my dropdown value below.
If I select the value Travelers I need to get EFT,RCC as my drop down value below.
<label for="payment_plan">Payment Plan: </label>
<select name="payment_plan" id='payment_plan'>
<option id='payment_plan' value="" selected="selected"></option>
Finally,if I select Metlife and Bill from the above 2 dropdowns, I need to display a radio button below.
<label for="min_dp">Is minimum DP required? </label>
<input type="radio" name="yes" value="Yes" />Yes
<input type="radio" name="no" value="No" />No
else dont display the radio button.It's kinda overwhelming to do in jquery. Can someone point me to the correct direction
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…