You are here: Re: Re-create a drop-down menu « PHP Programming Language « IT news, forums, messages
Re: Re-create a drop-down menu

Posted by Andy Hassall on 11/24/98 11:28

On Wed, 5 Oct 2005 13:39:32 -0700, "Vic Spainhower" <vic@showsec.com> wrote:

>I have 2 drop-down menus (1) States (2) Shows By State. My question is how
>do I invoke a re-build of the Shows By State drop-down when the user
>requests a different state. I believe this has to be done with Javascript
>and I don't know Javascript. Could someone supply a small example of how
>this is done?

The HTML_QuickForm class on PEAR has an element for this:

http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-hierselect.php

Using QuickForm also gets you a lot more form building and validation
functionality as well, although this may not be quite the answer you're looking
for.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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