You are here: RE: [PHP] dynamic drop down « PHP « IT news, forums, messages
RE: [PHP] dynamic drop down

Posted by "Richard Lynch" on 06/07/05 01:21

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация