RE: Default entry field focus
RE: Default entry field focus
- Subject: RE: Default entry field focus
- From: "Albert Jagnow" <email@hidden>
- Date: Thu, 8 Apr 2004 11:42:44 -0500
- Priority: normal
- Thread-topic: Default entry field focus
You should be able to use some simple JavaScript to do what you are
talking about. In the body tag put something like
onLoad=setDefaultFocus(). Then create the function setDefaultFocus to
do something like document.form.element.focus() where form is the name
of the form and element is the name of the element you want to set the
focus on.
Look at this page to find some specific examples:
http://javascript.internet.com/forms/
--Albert
-----Original Message-----
From: Dale Gregory [mailto:email@hidden]
Sent: Thursday, April 08, 2004 11:05 AM
To: webobjects devel list
Subject: Default entry field focus
Hi all,
Is there some way in a webobjects display component to have a certain
field in a WOForm be selected upon loading the page so the user doesn't
have to click in it before entering data in the field?.....Thanks for
any advice!.....Dale
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.