Re: QuickForm - select and open a new adress
| From: | Justin Patrin | Date: | Thu, 30 Dec 2004 18:21:21 +0000 |
| Subject: | Re: QuickForm - select and open a new adress | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16526@lists.php.net to get a copy of this message | ||
On Tue, 28 Dec 2004 15:08:58 +0000, Helder Miguel Rodrigues
<hmgr@netcabo.pt> wrote:
> Hello,
> I want to know if it is possible to:
> I got an select list with itens, and i want to change de current opened
> adress to url1 when i click in the item1 of the select, and i want to
> change current opened url to url2 when i click in the item2, and i want
> to......do you understand?
>
> There is anyway possible to do this?
You can use the onclick property of the select box and use javascript
to change the URL.
>
> Thanks a lot!
> Helder
>
--
Justin Patrin