Actually, i have seen problems with this under Oprah and Netscape (dont ask
me why... it just seems kinda flaky.

So instead, use this:

a href="javascript:document.<formname>.submit()">Login</a>

//Nick

-----Original Message-----
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 7:49 PM
To: [EMAIL PROTECTED]; Steven Walker
Subject: [PHP] Re: Hyperlinks vs Buttons




Steven Walker wrote:

> Is there a way to regular hyperlinked text to submit a form?
>
> For example, rather than having a button that says [Login], I just want
> underlined text: Login
>
> Steven J. Walker
> Walker Effects
> www.walkereffects.com
> [EMAIL PROTECTED]
>

<a href="javascript:submitForm(1)">Login</a>

HTH
Gary


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to