S
SP_2020
Guest
Hi
I want to hide few dropdown values based on another dropdown value selection and again show all the values .
But hide & show Jquery is not working in IE, but works properly in chrome.
$("#Selectid option[value='val']").hide();
$("#Selectid option[value='val']").show();
I have 2 dropdowns
1) DocType
<option value=""> --- </option>
<option value=""> AA </option>
<option value=""> BB </option>
Another DropDown 2) Retention
<option value=""> 1yr </option>
<option value=""> 10yr </option>
<option value=""> 100yr </option>
Here When DocType is selected as "AA" , in second Dropdown 10yr should be hidden. Again when doc type is selected as "BB" , all values should be visible in Retention Drpdown.
Regards, SP_2020
Continue reading...
I want to hide few dropdown values based on another dropdown value selection and again show all the values .
But hide & show Jquery is not working in IE, but works properly in chrome.
$("#Selectid option[value='val']").hide();
$("#Selectid option[value='val']").show();
I have 2 dropdowns
1) DocType
<option value=""> --- </option>
<option value=""> AA </option>
<option value=""> BB </option>
Another DropDown 2) Retention
<option value=""> 1yr </option>
<option value=""> 10yr </option>
<option value=""> 100yr </option>
Here When DocType is selected as "AA" , in second Dropdown 10yr should be hidden. Again when doc type is selected as "BB" , all values should be visible in Retention Drpdown.
Regards, SP_2020
Continue reading...