Re: An HTML alternative to submit button to look like anchor??
| From: | Scott Fletcher | Date: | Mon, 16 Feb 2004 21:59:00 +0000 |
| Subject: | Re: An HTML alternative to submit button to look like anchor?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177870@lists.php.net to get a copy of this message | ||
Impressive.... :-) Thanks...
"Shaunak Kashyap" <skashyap@intertechmedia.com> wrote in message
news:PEEDKKFABCNJPIMMMICNAEANFPAA.skashyap@intertechmedia.com...
> Yes, you can use elementary javascript to achieve that goal.
>
> Just make a link (anchor) as you normally would and make the value of its
> href attribute "javascript:document.formName.submit()" where formName is
the
> name of the form you wish to submit. As with a lot of client-side
scripting
> languages, I cannot guarantee that this solution is cross-browser
> compatible.
>
> Shaunak
>
> > -----Original Message-----
> > From: Scott Fletcher [mailto:scott@abcoa.com]
> > Sent: Monday, February 16, 2004 4:41 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] An HTML alternative to submit button to look like
> > anchor??
> >
> >
> > Hi!
> >
> > I'm wondering if there is such a thing as an alternative to the HTML
> > submit button that would instead look like an anchor and yet act like a
> > submit with POST action. Just wondering...
> >
> > Scott F.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >