
I want to display set of radio buttons after i select one option of the combobox

In the given code, there are five options added to combobox. When the user selects any option from the combo box, radio buttons will get displayed.
<html>
<script>
function showRadioButtons(){
var d=document.getElementById("div");
d.innerHTML+="Radio 1<input type='radio' value='Radio 1' name='radio'><br>Radio 2<input type='radio' value='Radio 2' name='radio'>";
}
</script>
<select name="sel" onchange="showRadioButtons();">
<option value="-1">--Select--</option>
<option value="Option 1">Option 1</option>
<option value="Option 2">Option 2</option>
<option value="Option 3">Option 3</option>
<option value="Option 4">Option 4</option>
<option value="Option 5">Option 5</option>
</select>
<br>
<div id="div">
</div>
</html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.