Re: How do I keep the selected showing...
| From: | JJeffman | Date: | Sun, 04 Mar 2001 01:37:34 +0000 |
| Subject: | Re: How do I keep the selected showing... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7099@lists.php.net to get a copy of this message | ||
Use the "selected" attribute of the <option> tag when you load the second
page, marking the place the user had chosen :
<option .....
<option ...
<option selected value="ggggg">City G
<option...
HTH
Jayme.
-----Mensagem Original-----
De: Dave Carrera <dave@davecarrera.com>
Para: <php-db@lists.php.net>
Enviada em: sábado, 3 de março de 2001 04:29
Assunto: [PHP-DB] How do I keep the selected showing...
> Hi All
> I have a fully functional db site which uses 2 sqls and 1 page to give our
> visitors info they need.
>
> That works fine, but some users have remarked that it would be nice that
the
> selected item from our drop down list stays shown when the page gives the
> info instead of going back to the top of the list.
>
> http://www.angelettes.co.uk/dates/index.php3 is the url in
> action and
> choosing different towns will show you what I mean.
>
> Its not the end of the world, as our visitors have said, but would be
nice.
>
> Any help is full appreciated.
>
> Dave C
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>