Re: Disable select box

From: Date: Tue, 20 May 2003 17:29:43 +0000
Subject: Re: Disable select box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148298@lists.php.net to get a copy of this message
Shaun, Sounds like a job for javascript. However, you could have radio buttons near each select box, and if the radio button is pushed, then use the data from the nearby select box, and ignore data from the other(s). You can't disable the other select boxes from working, you just won't be using their data. Hugh ----- Original Message ----- From: "Shaun" <shaun@mania.plus.com> To: <php-general@lists.php.net> Sent: Tuesday, May 20, 2003 8:52 AM Subject: [PHP] Disable select box > Hi, > > I have two select boxes and two radio buttons on my page, how can I make one > select box 'disabled' when I click on the radio button next to the other > select box? > > Thanks for your help > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#148298) next »