Please see my other JavaScript articles.
Using JavaScript to dynamically change selections.
In this example I will illustrate how to dynamically hide/show radiobutton choices based on the user selection.
I’ll begin with a few simple asp.net radiobuttonlist controls.
As you can see, the HTML generated by the asp.net control is quite extensive and potentially confusing.
Therefore, I need a statement which will find the selected radio button and based on that selection (Width=22), will hide the Type=Super selection.
When I select Width=22, the Type=Super selection is hidden.
When I change my Width selection, Supper is shown once again.