> -----Original Message----- > From: Andreas Boehmer [Addictive Media] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 1 June 2005 4:35 PM > To: wsg@webstandardsgroup.org > Subject: RE: [WSG] Submit a form with text links > > > -----Original Message----- > > From: Prabhath Sirisena [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 1 June 2005 4:13 PM > > To: wsg@webstandardsgroup.org > > Subject: Re: [WSG] Submit a form with text links > > > > Styling form elements is a frustrating and, often, futile effort. > > > > I think sticking to the submit buttons is the best way to go. > > Yeah, I would love to stick to the form buttons, but it just > won't look > good.
Hmmm... What do you think about this one: I use javascript to display text links that use javascript to submit the form and <noscript> to display Form buttons. Something like this: <script type="javascript"> document.write("<a href=\"javascript:submitForm()\">Click Here</a>"); </script> <noscript> <input type="submit" name="submit" value="Click Here"> </noscript> Does anybody see any problems with this solution? Fair enough, users without Javascript will see lots of form buttons, but at least the functionality is there and most users will have Javascript enabled. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************