Re: PHP and javacript (reset) HELP

From: Date: Sun, 25 May 2003 19:48:25 +0000
Subject: Re: PHP and javacript (reset) HELP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148923@lists.php.net to get a copy of this message
What does this have to do with PHP? To answer your question, you can't make an <input> a link. Use an <img> tag instead. Philip D Heady wrote:
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.
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#148923) next »