This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

focus support

 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do html tags support "focus" demand?

Thanks.

Dan
 
Nick Williamson
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, on the html:form tag there is an attribute called focus you can set it to a property on the form:

example your ActionForm has a property on it called name



in that example the cursor will be put on the "name" text filed when the page loads.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic