Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Passing javascript variables to Perl CGI

by grep (Monsignor)
on Jul 20, 2007 at 15:13 UTC ( #627810=note: print w/ replies, xml ) Need Help??

in reply to Passing javascript variables to Perl CGI

Create a hidden input element in the form and set the value with javascript. Then it will be passed as a CGI parameter.

One other thing - You should also remember that some people will have JS off or blocked, so having a CGI only alternative is always recommended.

UPDATE: added caveat

Comment on Re: Passing javascript variables to Perl CGI

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-11-26 14:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls