http://www.perlmonks.org?node_id=930117


in reply to Re: Javascript with CGI
in thread Javascript with CGI

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

Replies are listed 'Best First'.
Re^3: Javascript with CGI
by bart (Canon) on Oct 07, 2011 at 11:10 UTC
    Well your problkem is that you need to add the 'id' attribute. According to the CGI.pm docs, you can add it with a named parameter using '-id' but you'll have to change the way you pass the name parameter. This works:
    $textfield = CGI->textfield({ -name => 'name', -id => 'name' });
    as does this:
    $textfield = CGI->textfield(-name => 'name', -id => 'name');
Re^3: Javascript with CGI
by Anonymous Monk on Oct 07, 2011 at 06:43 UTC

    And? If you wish to debug your HTML and javascript, go to a different forum

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