A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to make the form set focus on the submit button by default.
Joined: May 20, 2004
Jul 05, 2004 08:16:00
I just have a quick question. If I want a form to set the default on a submit button in Struts, I would have the following
<html:form action="/findUsers" focus='accesslist.returntosearch'> <html:submit> <bean:message key='accesslist.returntosearch'/> </html:submit> </html:form>
now my question is can i still use the key "'accesslist.returntosearch' in the "focus" field of the <html:form>?
let me know
It is sorta covered in the
JavaRanch Style Guide
subject: how to make the form set focus on the submit button by default.
Submitting a struts form outside of the form body
Submitting Input fields in struts
"enter key" button focus ?
Multiple Submit Buttons?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014