On 7 Mar 2006, at 02:09, Jim Wong wrote:
How do i have the cursor focus on a particular text field upon
loading the page?
The javascript technique is how to do it (already well explained).
There is a special case, which is when you want focus to go to the
first field on a page (usually inside the first form). The binding
for this would be:
onLoad="document.forms[0].elements[0].focus();"
This way you don't need to mess about with assigning names to various
elements.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]