[thelist] Automatically clicking submit button?

Chris Blessing webguy at mail.rit.edu
Tue Mar 19 12:07:01 CST 2002


Hehe, I know, I don't always look both ways before crossing the road either.
;)  Luxuries in my work environment allow me to forget about folks not using
JS, or IE sometimes, so I tend to overlook things.

Good read for sure, thanks.

Chris Blessing
webguy at mail.rit.edu
http://www.330i.net

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of .jeff
> Sent: Tuesday, March 19, 2002 12:37 PM
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] Automatically clicking submit button?
>
>
> chris,
>
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Chris Blessing
> >
> > Why even bother displaying the button?  Omit the button
> > and put this code after the </FORM> in the page:
> >
> > <SCRIPT LANGUAGE="JavaScript">
> > 	document.myFormName.submit();
> > </SCRIPT>
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
>
> you're a very naughty developer.
>
> if you're going to use some javascript to submit the form, the
> least you could do is leave a way for non-js users to submit it.
> but noooooo, you had to suggest removing that.  ;p
>
> Links & JavaScript Living Together in Harmony
> http://evolt.org/article/thelist/17/20938/
>
> give that a read.  go forth and use javascript responsibly.
>
> .jeff
>
> http://evolt.org/
> jeff at members.evolt.org
> http://members.evolt.org/jeff/
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list