users@woodstock.java.net

Re: Submit and disable a button

From: Stefan Bley <stefan.bley_at_saxsys.de>
Date: Mon, 6 Oct 2008 00:31:13 -0700 (PDT)

I tried this with an "INDETERMINATE" progress bar, which worked fine for
Firefox 3.
But on Internet Explorer 7 the progress bar didn't show any progress.

Stevy


fedevela wrote:
>
> I am using a slightly different approach with a "BUSY" progress bar to
> replace the buttons and it works really well.
>
> I put all the buttons in its own panel grid next to the progress bar
> which is hidden at first. in the onClick i put "return
> myJavascriptFunction();" which always returns true.
>
> in the javascript function i do
>
> document.getElementById("progressBar").setProps({visible : true});
> document.getElementById("buttonsPanelGroup").style.display = 'none';
> return true;
>
> Voila!
>
> Federico Vela
>

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