struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <>
Subject Re: [OT] "Enter" key listener for form submittal
Date Thu, 02 Sep 2004 22:24:01 GMT
Erik Weber wrote:

> Rick, I tried putting a hidden submit button (<html:submit 
> style="display:none"/>) in front of my cancel button to intercept the 
> "Enter" key, but again, this worked in Mozilla but not IE (just like 
> my key listener JavaScript).
> So I'm still looking for an Enter key listener that is portable. I 
> haven't tried every suggestion I got though.
> Erik
> Rick Reumann wrote:
>> Erik Weber wrote:
>>> Would this button then need an onclick to submit the form, or is 
>>> that not necessary? 
>> I haven't had to use the approach but I don't think it would be 
>> necessary to add an onclick. Just make it's a regular submit button 
>> and make sure it's hidden after the <html:form > tag 

Where is the rest of this discussion?  Is it under a different subject?  
I am interested in the topic and probably have an answer, but need to 
see the question to be sure.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message