RE: dynamic drop down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, June 6, 2005 2:34 pm, Chris W. Parker said:
> Danny Brow <mailto:dan@xxxxxxxxxxxxxxx>
>     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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux