Re: PHP and javacript (reset) HELP

From: Date: Mon, 26 May 2003 08:19:17 +0000
Subject: Re: PHP and javacript (reset) HELP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148961@lists.php.net to get a copy of this message
Hi, You should use: <input type='reset' src='/path_to_image ... > and then it works. Note that the TYPE is RESET not IMAGE as you set it Cheers, Catalin "Philip D Heady" <philip@ignission.com> wrote in message news:20030525184527.32592.qmail@pb1.pair.com... > I have a form with drop down boxes coded in PHP that validates fields, > etc...and when I use an graphic to reset the forms via javascript (reset) > function. Well, it does not work. Any help is appreciated. > > > <td> > <a href="javascript:document.form1.reset()"> > <input type="image" src="/contact/images/clear-request.gif" > border="0" > alt="Clear Request" value="reset" width="119" > height="27"> > </a> > </td> > > > Philip D Heady > Ignission, Inc. > >

« previous php.general (#148961) next »