Perl: the Markov chain saw | |
PerlMonks |
Re: Passing javascript variables to Perl CGIby grep (Monsignor) |
on Jul 20, 2007 at 15:13 UTC ( [id://627810]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|