Larry, Try this syntax: document.FORMNAME.elements['FIELD_NAME'].focus();
Ryan Pieszak -----Original Message----- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 9:52 AM To: CF-Talk Subject: Set focus on a CFINPUT field Can someone point me to how to properly set focus on a CFINPUT field? I have tried document.FORMNAME.FIELDNAME.focus(); and it just does not acknowledge the code. document.FORMNAME.FIELDNAME.VALUE will give me the preset value that I set for the field. Thanks in Advance Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the use of the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential, and/or personal. If the reader of this message is not the intended recipient (or the employee or agent responsible to deliver it to the intended recipient), you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this communication in error, please notify us at the email listed above. ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists