struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: [OT] "Enter" key listener for form submittal
Date Wed, 01 Sep 2004 14:30:34 GMT
Rick, this is a new concept to me. Is the strategy to make this button 
the first one in line on each screen, and therefore it will be the 
target of the "Enter" key? Would this button then need an onclick to 
submit the form, or is that not necessary?

Thanks,
Erik


Rick Reumann wrote:

> Erik Weber wrote:
>
>> I need it because I have multiple buttons. On some screens, the Enter 
>> key triggers the "Cancel" button, which is not desirable. The 
>> "Cancel" button appears before the "Submit" button.
>
>
> I would think making an extra submit button that was hidden (using 
> css) would be easier.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message