onLoad="document.formname.fieldname.focus()"

replace formname with the NAME of the form and fieldname with the NAME of
the field you want to focus on.

--Dylan


-----Original Message-----
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 8:13 AM
To: CF-Talk
Subject: OT: JS Question


Hello,

Is there a way to force the focus to a form field (text field) onLoad?

Thanks,
Dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to