Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Javascript with CGI

by tarunkhanna (Novice)
on Oct 07, 2011 at 06:37 UTC ( [id://930117]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://930117]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found