A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 22, 2004
May 16, 2007 15:23:00
Do html tags support "focus" demand?
Joined: Jan 06, 2007
May 16, 2007 16:43:00
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
<html:form action="/myAction" focus="name"> Enter Your Name: <html:text property="name"/> <html:submit/> </html:form>
in that example the cursor will be put on the "name" text filed when the page loads.
I agree. Here's the link:
subject: focus support
GWT: focus management
Why isnt My Mock Exam put on scwcd links
My Cousin Got Offer from SlashSupport,chenai as Application Engg.He is afraid that it
Focus for an html array input
entity bean remote&home survive crash
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014