FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » getting file from <option>
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: getting file from <option> [message #171908 is a reply to message #171736] Thu, 20 January 2011 19:57 Go to previous message
Leonardo Azpurua is currently offline  Leonardo Azpurua
Messages: 46
Registered: December 2010
Karma:
Member
"richard" <member(at)newsguy(dot)com> wrote:
> Is it possible from within a listbox to load a file based upon what
> was
> selected?
> I have a rather long list of options, 100, and got to thinking, that
> instead of having 100 corresponding divisions on the page, why not
> just one
> section?
> The options are broken down alphabetically. e.g., A through E.
> If a user clicks on something in "C" then load only that file for
> the "C"
> listings.
> What are some ways of doing this?

PHP is a server side scripting language (or at least that is its
common usage).

To react to events triggered by the browser user, you need to use a
client side scripting language.

You may get some help if you post your question in a Javascript forum.

--
[Message index]
 
Read Message
Read Message
Previous Topic: Re: DOS newlines (CR/LF) to Unix format
Next Topic: fatal error: cannot redeclare
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 16:15:49 GMT 2024

Total time taken to generate the page: 0.04878 seconds