Re: dynamic drop down
| From: | Justin French | Date: | Tue, 23 Apr 2002 12:21:57 +0000 |
| Subject: | Re: dynamic drop down | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94146@lists.php.net to get a copy of this message | ||
Are you talking about refreshing/dynamicly modifying the pull-down (client
side, javascript), or refreshing the page (server side, php)??
You can set a pull down to submit the form onchange, (check out javascript
sites for this FAQ) and the action of your form would be something like
(untested):
<FORM action="<?= $PHP_SELF."?".$QUERY_STRING ?>"
method="post">
This will call the current page, with the current query string, which I thin
is your question.
Justin French
---------------------
http://indent.com.au
http://soundpimps.com
---------------------
on 23/04/02 9:01 PM, Kunal Jhunjhunwala (kunal@getmonked.net) wrote:
> Hey,
> I am trying to make a drop down list such that, when some one selects an
> option, it refreshs and displays the option on the same page. There are a
> couple of things already in the URL [ the query string ], which need to
> remain there. How would I do this easily?
> Regards,
> Kunal Jhunjhunwala
>
> "Minds think with ideas, not information. No amount of data, bandwidth, or
> processing power can substitute for inspired thought." - Clifford Stoll
>