[thelist] onclick="this.submit.button.is.disabled.and.greyed.out" ?

Minh Lee Goon evolt at goonies.info
Mon Sep 23 09:54:04 CDT 2002


Here's a script from The JavaScript Source:
http://javascript.internet.com/forms/disable-submit.html

That should help.


http://www.goonies.info/
Not the film. The family.

----- Original Message -----
From: "Dunstan Orchard" <dunstan at 1976design.com>
To: "evolt list" <thelist at lists.evolt.org>
Sent: Monday, September 23, 2002 9:47 AM
Subject: [thelist] onclick="this.submit.button.is.disabled.and.greyed.out" ?


> Hey there,
>
> I have a form where people can upload images.
> Some of the images are quite big and take about 30 seconds to upload (mind
> you, that's probably cause I'm connecting at a blistering 44k).
>
> I am worried that someone will click 'submit' a second, third or fourth
time
> during this upload time, thinking that the process isn't working (as my
> parents are want to do - "STOP CLICKING MUM, IT'S WORKING!"), thus
submitting
> multiple copies of the form, or screwing things up generally.
>
> Is there a bit of JS that will say
> onclick="this.submit.button.is.disabled.and.greyed.out" ?
>
>
> Once the images have uploaded the page reloads so I guess the button would
> return to normal again.
>
> Thanks very much - dunstan
>
> ---------------------------
> Dorset, England
> http://www.1976design.com/
> http://www.orchard.it/
> http://www.maccaws.org/
> --
> 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