Re: set focus on a cgi form upon loading

2001-12-10 Thread Etienne Marcotte
it is dhtml/javascript onload function in the body tag that sets focus on a particular form element form.fieldname HTH Etienne Kevin Harwood wrote: > > Is there a way to place the cursor in a text field automatically upon > loading a cgi form? > > Here is the field and some of the code: >

Re: set focus on a cgi form upon loading

2001-12-10 Thread Maurice Reeves
http://www.wiley.com/legacy/compbooks/stein/text/javascript.txt This link will take you to the 'OFFICIAL GUIDE TO PROGRAMMING WITH CGI.PM' website which lists code examples, and specifically this one shows how to use Javascript with CGI. hth, Maurice Reeves >From: "Kevin Harwood" <[EMAIL PROTE