permaculture playing cards*
The moose likes Struts and the fly likes how to make the form set focus on the submit button by default. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to make the form set focus on the submit button by default." Watch "how to make the form set focus on the submit button by default." New topic
Author

how to make the form set focus on the submit button by default.

kay lin
Ranch Hand

Joined: May 20, 2004
Posts: 132
Hi all:
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



now my question is can i still use the key "'accesslist.returntosearch' in the "focus" field of the <html:form>?

let me know

Many thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make the form set focus on the submit button by default.
 
Similar Threads
Submitting a struts form outside of the form body
Multiple Submit Buttons?
"enter key" button focus ?
Accessing the Struts form object in JavaScript
Submitting Input fields in struts