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]
|