Home »
Imported messages »
comp.lang.php »
getting file from <option>
Re: getting file from <option> [message #171908 is a reply to message #171736] |
Thu, 20 January 2011 19:57 |
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.
--
|
|
|
Goto Forum:
Current Time: Sun Nov 24 21:36:26 GMT 2024
Total time taken to generate the page: 0.04252 seconds