A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
List Of Radio buttons with other option
transfer data from text box to multiple select list box.
Auto Populate Combo Box upon Radio Selection
Problem to display corresponding List box when radio button selected
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014