document.forms[0].elements[0].focus()
will do it first for first form ,first field

~Justin MacCarthy

----- Original Message -----
From: sam komolafe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 26, 2000 5:19 PM
Subject: How do you make the Cursor Default to the First Input Field


> Hi CF_friends,
>
> How do I make the Cursor Default to the First Input Field as soon as a
form
> is requested.  I used the tabindex='1' attribute but it still defaults to
> the browser URL Address box.
>
> Thanks
> sam
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to