You should attach the event to the form and not the button.  If the user
clicks the enter key on the keyboard and you have used an "onClick"
event, then the event will not fire if the user hits enter.

Andy Miller
IS Designer
Butte College
530.895.2946
-----Original Message-----
From: rukka [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 7:37 AM
To: Struts Users Mailing List
Subject: Disable submit button


As a part of solution  to multiple reloads and to block the multiple 
submit requests in long running service layer methods, we like to
disable submit button once user hit that once. Does html:submit button 
tag has java scripts associated with it?

If you do have any links on client side fix, I appriciate that.

thanks

rukka


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to