Sorry for posting this twice, but a lot of activity here yesterday.
Hoping someone will see this the second time around.

 

I need to disable the submit button after a user presses it.  I have
found some examples how to do this.  Some more complicated than others.

 

I am opting to go for the simpler solution and use JavaScript to disable
the submit button after the user presses it.  Can any one show what the
JavaScript looks like?  I found many reference to how but when
attempting it does not work. The page hangs. Here is sample code of what
I have been trying:

 

 <input type="submit" jwcid="@Submit" value="message:button-proceed"
listener="ognl:listeners.submit" onClick="this.disabled=true;"/>

 

It will grey out the button, which is what I want, but then it hangs
does and does not go to the next page.

 

Any help much appreciated.

 

 

 

Reply via email to