Re: Form Problem?
| From: | R.S. Herhuth | Date: | Wed, 08 May 2002 16:18:19 +0000 |
| Subject: | Re: Form Problem? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13628@lists.php.net to get a copy of this message | ||
You can also submit a form using Javascript:
from memory:
<a href="#" onclick="document.forms.formname.submit();">link
name</a>
Using this method allows you to use almost anything to submit a form.
Ron
Mike Flynn wrote:
>
> <input type="image"..> works the same as a submit button. Put it within a
> form and it works just like a form with a submit button. There's no reason
> why you can't get the form data on the next page if you use an image submit
> button.
>
> At 03:44 AM 12/19/01 -0800, Jason Witten wrote:
> >how can i get form data on the next page if i dont have a submit feild? like
> >if i have <input type="image" src="blah.gif"> instead of the
> >submit
> >button????
> >would i just make the image a link to "mypage.php?myvar=1" ?
> >Thanks for the help in advance.
> >
> >Jason
> >
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
> -- Mike Flynn --
> mike @ mikeflynn . net
> home => work => home => shop => home [adbusters]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php