Click to See Complete Forum and Search --> : Radio Button Selection


gnanesh
10-24-2003, 02:28 PM
I have a JSP page where at one place i will be displaying two radio buttons, but i get the values of these two from the database, Now i need to control the selected feature of these radion buttons at the GUI side, Let's say i will be getting values 'A' & 'B' from the database, and i will be having two radio buttons displaying as

<input type=radio name=xx value=A>A
<input type=radio name=xx value=B>B

Now if i get value from the backend i need to display the first radio as selected,

Any code help will be really helpful

Thanks
BB

gil davis
10-24-2003, 02:29 PM
<input type="radio" name="xx" value="A" checked>A

gnanesh
10-24-2003, 02:31 PM
I know about that property, but how do i control programattically in my JSP page

Thanks
BB