Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Javascript with CGI

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

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

yeah, I can see that...

But it's not even working with


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 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

      Yeah, I have to do that if I don't get solution here.

      The point is this forum is also to help each other. That's why I posted here. If you know the solution, you can tell me.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930117]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2017-02-26 12:49 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (372 votes). Check out past polls.