Re: CURSOR positioning????? (from mainframer)

Randy Abner <randy.abner@mail.state.ar.us> pondered:

> I am needing to position the cursor on the first input field 
> when my FORM is first displayed - without the user having to
> point-click to it. I can't find a HTML keyword that
> corresponds to this command.  

Nope. Because it is a command, and not really markup, you'll
want to look at a client-side scripting solution. The quick
'n' dirty JavaScript answer would be:

  <body onload="document.forms['x'].elements['y'].focus();">

where x and y are the names of the form and input field in
question.

hth

-- 
Andrew Clover
Technical Support
1VALUE.com AG

Received on Monday, 15 May 2000 04:42:37 UTC