Win a copy of Design for the Mind this week in the Design 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