Re: html_quickform
| From: | Jeroen Houben | Date: | Mon, 23 Jun 2003 14:00:41 +0000 |
| Subject: | Re: html_quickform | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6194@lists.php.net to get a copy of this message | ||
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