Perl CGI script giving me problems

Earle Martin perl at
Thu Feb 8 11:51:46 GMT 2007

On 08/02/07, peter church < at> wrote:
> what I need to do is
> 1) make the cursor appear in the box containing the current question each
> time
> 2) make the web page scroll down to where the box is if the page is longer
> than a standard browser window
> is this easy to achieve with the Perl CGI module?


Perl doesn't do client-side (browser) stuff. For that you need to use
JavaScript. In particular, you're looking for the focus() method. This
page seems to explain it well:

Hope this helps,


Earle Martin

More information about the mailing list