I have three radio buttons in my JSP page, once selected I would like to show the value of the selected button in div below the radio buttons. find the code below. Based on the selection, I would like to display the value in display.
<div>
<div class="service">
<input type="radio" name="Service" value="Service1 Selected" Checked> <b>Service-1</b></input>
<input type="radio" name="Service" value="Service2 Selected"><b>Service-2</b></input>
<input type="radio" name="Service" value="Service3 Selected"><b>Service-3</b></input>
</div>
<div class="display"></div>