struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <>
Subject Re: [OT] "Enter" key listener for form submittal
Date Thu, 02 Sep 2004 21:39:33 GMT
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.


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

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

View raw message