Re: Button can't see form!
| From: | Analysis & Solutions | Date: | Thu, 04 Jul 2002 16:06:07 +0000 |
| Subject: | Re: Button can't see form! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105464@lists.php.net to get a copy of this message | ||
Folks:
On Thu, Jul 04, 2002 at 11:05:38AM -0400, Analysis & Solutions wrote:
> On Thu, Jul 04, 2002 at 01:44:00PM +0100, Mark Colvin wrote:
> >
> > <td align="left" width=40px><input type='button'
> > class='bginput'
> > value='New' onClick="this.form.action='newproduct.php?mode=new';
> > this.form.submit()"></td>
>
> And then folks with Java'sCrap turned off won't use your site.
>
> Why people go to such lengths to destroy the elegance of HTML I just don't
> know...
Mark asked me off list how to write that in HTML...
<td align="left" width="40px">
<form action="newproduct.php" method="GET">
<input type="submit" class="bginput" name="mode"
value="New" />
</form>
</td>
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409