File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Joined: Mar 04, 2008
Mar 05, 2008 00:02:00
I have a 2 list box which is filled and I have a radio button,when I click on radio buton,it will take the data from database and display in those list box,previous item in the listbox must be deleted
Joined: Nov 08, 2001
Mar 05, 2008 06:57:00
How about you make the design a little more simple. Have two list boxes on the page. Hide the one with style="display:none". When the radio button is selected, you show it and hide the other.
This way you do not have to worry about Ajax calls and such to fetch the data from the server.
List Of Radio buttons with other option
Problem to display corresponding List box when radio button selected
Auto Populate Combo Box upon Radio Selection
transfer data from text box to multiple select list box.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014