I have found many cases when this doesn't work. I've often gotten errors
that look like the "onLoad" handler was run before the page finished
loading. (error says form or field not found). I do NOT trust the "onLoad"
handler. In cases like this, I've put the focus statement at the end of the
document.
<html>
...
<body>
</body>
<script>
document.formname.fieldname.focus()
</script>
</html>
-----Original Message-----
From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 12:35 PM
To: CF-Talk
Subject: RE: Manipulating Cursor Position In Applications
<body onLoad="document.formname.fieldname.focus();">
> -----Original Message-----
> From: t nelson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 2:02 PM
> To: CF-Talk
> Subject: Manipulating Cursor Position In Applications
>
>
> Hello All,
>
> I have a slight problem on my hands. I am trying to make the
> cursor default
> to the beginning of my input fields. For example if a user opens up a
> <cf_form> page, I want them to be able to begin inputting their
> data without
> having to use their mouse to move their cursor into position.
>
> Any ideas out there?
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]