Re: html_quickform
| From: | Jeroen van Vlierden | Date: | Mon, 23 Jun 2003 14:10:25 +0000 |
| Subject: | Re: html_quickform | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6195@lists.php.net to get a copy of this message | ||
Bedankt!
"Jeroen Houben" <jeroen@terena.nl> wrote in message
news:3EF70809.2070008@terena.nl...
> Jeroen van Vlierden wrote:
>
> >Hello people,
> >
> >forgive me if this question is a bit stupid (I am still quite new to
this).
> >How do I, using HTML_Quickform, create a button that if it is being
pressed
> >by the user, lets the browser navigate to a certail url?
> >
> >
> you can use something like:
>
>
$form->addElement('button','cancel','Cancel',array("onClick"=>"location.href
='http://www.yahoo.com/'"));
>
>
> Jeroen
>
>