Dave,
Try:

<script language=javascript type="text/javascript">
<!--
function onBodyLoad() {
    document.formname.fieldname.focus();

}
// -->
</script>

Scott Brader
Prairie Software Development LLC
101 E. Sadd Street
PO Box 235
North Prairie, WI 53153-0235

Phone: 262.392.9173
Fax: 262.392.9174
Mobile: 262.490.1376

Amateurs practice until they get it right,
Experts practice until they can't get it wrong.

-----Original Message-----
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 10: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