Register / Login
how to make the form set focus on the submit button by default.
posted 11 years ago
I just have a quick question. If I want a form to set the default on a submit button in
, 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
I agree. Here's the link:
Submitting a struts form outside of the form body
Submitting Input fields in struts
"enter key" button focus ?
Multiple Submit Buttons?