I've 2 radio buttons and one select list. I need to change the contents of the select list, based on the radio button selection. I don't want to create 2 select lists and display/hide one or the other based on the radio selection. For example, if I choose radio choice 1, the select list may contain ten items, and if it is radio choice 2, the list may contain only three items, just to given an example. So the select list does not contain fixed number of entries, it's content and size varies depends on the seleciton made on the radio choice. How can I do this?

I would very much appreciate you help.

Thanks in advance.