I am looking for a way (javascript) to display a selection drop down based on two radio buttons selected. For example, if button a from group 1 is selected, and button a from group 2, then display x dropdown, however if button b is selected from group 1, and button a from group 2, then display y dropdown, and so on.

Any help would be greatly appreciated.