RE: [PHP] dynamic drop down

From: Date: Mon, 06 Jun 2005 22:21:01 +0000
Subject: RE: [PHP] dynamic drop down
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216528@lists.php.net to get a copy of this message
On Mon, June 6, 2005 2:34 pm, Chris W. Parker said: > Danny Brow <mailto:dan@fullmotions.com> > on Saturday, June 04, 2005 2:45 PM said: > >> So how do you refresh the page when the drop down is selected? > > With javascript or force the user to click a submit button. To be clear, and forestall the "But that's not PHP!" response... > With javascriopt or force the user to click a submit button. ... that goes *back* to the server to load a PHP script. So your onChange="..." would have something that resulted in: .location="somefancymenuscript.php" in it. This would be incredibly inefficient and a really dumb way to do dynamic drop down menus unless you can guarantee high-bandwidth low-latency in an Intranet setting, and even then is probably not truly the BEST answer. Which, after you boil away 10,000 posts to the PHP list turns out to be: Use JavaScript. Go away. :-) :-) :-) -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#216528) next »