users@woodstock.java.net

Re: Submit and disable a button

From: Stefan Bley <stefan.bley_at_saxsys.de>
Date: Thu, 2 Oct 2008 00:41:43 -0700 (PDT)

Dan Labrecque wrote:
>
> I don't follow why you would disable a button, but still submit the
> page?
>

The reason is to tell the user "Your request is processing, please wait and
do not click again until the request is completed." This is very common,
e.g. see Glassfish Admin Console.

The problem is: If you use onClick() and set the button disabled, the form
is not submitted.
How can one have both, disable the button and submit the form?

Stevy

-- 
View this message in context: http://www.nabble.com/Submit-and-disable-a-button-tp16322463p19774690.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.