Want to disable button after a submit.
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alfred_Wong
Posted On:   Friday, January 17, 2003 11:42 AM

Hello,


I was wondering how would I go about disabling a button after the user submits the form. I don't want the user to be able to double submit.



I've tried doing:

onclick="form1.enter.disabled=true;"


but what ends up happening is that the form disables the button but doesn't submit the form. Can anybody help me with this.

Thanks,

Alfred

Re: Want to disable button after a submit.

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, January 21, 2003 01:27 PM

Re: Want to disable button after a submit.

Posted By:   Brian_Glodde  
Posted On:   Friday, January 17, 2003 05:41 PM

This is IE only:
 
...




Username:
Password:



...

Hope that helps!

Re: Want to disable button after a submit.

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, January 17, 2003 12:37 PM

Um, after a form is submitted, that page is gone, kaput, pfft.



Now, your servlet or JSP might return a new response, with a new copy of the same page, to start all over again in the browser. But the original copy of the page, that submitted the form, is gone.

About | Sitemap | Contact