Dynamically remove dropdowns on click of radio buttons.
I am new to Magento . I am using Magento version 2.1.8. I have a form which consists of radio button and drop down lists. The radio button and the dropdown lists are all dynamically generated as part of custom options. My requirement is that on selection of a specific radio button one of the drop down lists needs to disappear and on changing the selection to other radio buttons the disappeared dropdown should reappear. Any help regarding implementation steps are welcome.
Thanks in advance for help.