RE: Cursor location

by Chuck Evans <Chucke(at)captura.com>

 Date:  Fri, 5 May 2000 09:13:49 -0700
 To:  "'Shull,
Conrad'" <cshull(at)shscares.org>,
"'hwg-languages(at)hwg.org'" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
In the head section of the page, put:

<script language="JavaScript" >

function fieldFocus(){
	document.formname.fieldname.focus();
}

</script>

In the body tag, put:

onLoad="fieldFocus();"

And, obviously, replace formname with the name of your form and fieldname
with the name of the field you want to have focus (the cursor in).


---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com

-----Original Message-----
From: Shull, Conrad [mailto:cshull(at)shscares.org]

Can I force the blinking cursor to be present in a particular text input box
when a page is loaded? I know this is the Languages list (the only one I
continue to subscribe to; it's the most helpful to me and the least
"flamable"), but I'd hate to have to sign up on another list just for this
one question.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.