NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: javascript cgi.pm
by matthewb (Curate) on Jan 30, 2004 at 04:17 UTC

    Looking at the title, this question does not seem to have much to do with Perl. I guess that you already know you can say document.forms[N].inputname.value='whatever'; to populate a form field using Javascript.

    I suspect, however, that you have omitted to mention that the desired value should be somehow relevant to your application, in which case you would be well advised to check out HTML::FillInForm from the CPAN.

    MB

    Update: Nothing at all to do with Perl, then, poster has incorrect Javascript syntax.