I have 3 radio buttons and I want to determine which radio button is selected for further processing.I have tried
document.getElementById("minselected"); also document.getElementById("minselected").isSelected(); and
document.getElementByName("min");
but its not working.
if you are using icefaces you dont have to use any javascript tweek to get the check box value.
Try using ice:selectOneRadio component.
Sample code is given below
where myBean is my bean name
and myButtonValue is a string variable in bean with getter setter
When you submit the form you will get the itemValue in the bean on the variable myButtonValue