RE: Forms...The Submit Button

by Rebecca Campbell <Rebecca.Campbell(at)trustvesta.com>

 Date:  Thu, 4 Oct 2001 15:00:07 -0700
 To:  "'Stephen Kilmurray'" <stephen(at)sys-con.com>,
hwg-techniques(at)hwg.org
  todo: View Thread, Original
You can use javascript to submit the form.  Of course, this won't work for
browsers without javascript enabled.  You could, however, provide a text
link for those who do have javascript, and a form button for those who
don't:

<.script language="javascript">
  document.write('<.a href="javascript:document.myform.submit();">link
text<./a>');
<./script>

<.noscript>
  <.input type="submit" value="your text here">
<./noscript>

Hth,
Rebecca
http://www.nerdygirl.com

-----Original Message-----
From: Stephen Kilmurray [mailto:stephen(at)sys-con.com] 
Sent: Thursday, October 04, 2001 7:56 AM
To: hwg-techniques(at)hwg.org
Subject: Forms...The Submit Button


How can I utilize a text-based link on a form to replace a submit button 
without compromising the functionality of submit?
I need to pass along a password and deliver that page to the subscriber.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.