Re: Using an image as a reset button on a PHP script

From: Date: Fri, 13 Jul 2001 22:07:01 +0000
Subject: Re: Using an image as a reset button on a PHP script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57822@lists.php.net to get a copy of this message
On Fri, 13 Jul 2001 14:46:41 -0700, Brandon Orther (orther@webintellects.com) wrote: >Hello, > >I am making a script at the moment and want to use images instead of >the >usual buttons. Does anyone know how I can use the image as a reset >button? >Thank you, > >-------------------------------------------- >Brandon Orther >WebIntellects Design/Development Manager >brandon@webintellects.com >800-994-6364 >www.webintellects.com >-------------------------------------------- > <img src="reset.gif" onclick="document.forms[0].reset()"> substitute the name or number of the form for forms[0] if necessary.

« previous php.general (#57822) next »