RE: RE: Forms...The Submit Button
by Rebecca Campbell <Rebecca.Campbell(at)trustvesta.com>
|
| Date: |
Fri, 5 Oct 2001 09:01:52 -0700 |
| To: |
"'x_670(at)mtv.com'" <x_670(at)mtv.com>, hwg-techniques(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
I wrote the link out in javascript so that if the form button showed up =
for
the <.noscript> people, they wouldn't have the confusion of a link that
doesn't work and a button that does. It's a good way to show only =
what's
appropriate for the user.
Rebecca
http://www.nerdygirl.com
-----Original Message-----
From: x_670(at)mtv.com [mailto:x_670(at)mtv.com]=20
Sent: Friday, October 05, 2001 9:51 AM
To: hwg-techniques(at)hwg.org
Subject: Re: RE: Forms...The Submit Button
No Need to put that in a javascript, especially if your specifying in=20
the link that ur using javascript.
Just use this:
<.a href=3D"javascript:document.myform.submit();">link
text<./a>
Later,
Brett
---- Begin Original Message ----
From: Rebecca Campbell <Rebecca.Campbell(at)trustvesta.com>
Sent: Thu, 4 Oct 2001 15:00:07 -0700=20
To: "'Stephen Kilmurray'" <stephen(at)sys-con.com>, hwg- =
techniques(at)hwg.org
Subject: RE: Forms...The Submit Button
You can use javascript to submit the form. =A0Of course, this won't=20
work for
browsers without javascript enabled. =A0You could, however, provide a=20
text
link for those who do have javascript, and a form button for those who
don't:
<.script language=3D"javascript">
=A0document.write('<.a =
href=3D"javascript:document.myform.submit();">link
text<./a>');
<./script>
<.noscript>
=A0<.input type=3D"submit" value=3D"your text here">
<./noscript>
Hth,
Rebecca
http://www.nerdygirl.com
-----Original Message-----
From: Stephen Kilmurray [mailto:stephen(at)sys-con.com]=20
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=20
button=20
without compromising the functionality of submit?
I need to pass along a password and deliver that page to the=20
subscriber.
---- End Original Message ----
Get your free mtv.com e-mail address, you(at)mtv.com. Register for =
www.mtv.com
now.=20
This message is not official correspondence from mtv.com. As such, =
mtv.com
or any related company will not be liable for any damages caused by the
distribution of any information contained in this email. Please see =
Terms
of Use at www.mtv.com.
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.