RE: [PHP] Hyperlinks vs Buttons

2002-02-20 Thread Johnson, Kirk

Another way would be to create an image of the text, then use the  form element as a submit button.

Kirk

> -Original Message-

> > 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
> 
> You can use JavaScript on that link. An onClick event 
> which triggers document.formname.submit() would work,
> but then you lose backward compatibility (and thus
> accessibility) with non-JavaScript browsers.
> 
> Jason

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




Re: [PHP] Hyperlinks vs Buttons

2002-02-20 Thread Steven Walker

Thanks for the replies.. one of these methods should work. I'm not 
targeting the general public, so it's ok my site requires a modern 
browser. Web development sure would a lot more fun without all the 
compatibility issues!!! ;P

Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]

> You can use JavaScript on that link. An onClick event
> which triggers document.formname.submit() would work,
> but then you lose backward compatibility (and thus
> accessibility) with non-JavaScript browsers.
> 
> 


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




RE: [PHP] Hyperlinks vs Buttons

2002-02-20 Thread Jason Murray

> 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

You can use JavaScript on that link. An onClick event 
which triggers document.formname.submit() would work,
but then you lose backward compatibility (and thus
accessibility) with non-JavaScript browsers.

Jason

-- 
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"

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