Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to assign value of a javascript variable to a perl variable

0 views
Skip to first unread message

Reshma

unread,
Mar 29, 2006, 12:04:57 PM3/29/06
to perl-ja...@perl.org, perl-ja...@moderators.isc.org
I'm new to CGI and javascript.

I have a javascript variable which has a value assigned.

my var = getHTML();

I want to use this value in perl script.

$input_string = "var"; - is this possible?

I know a way we can do - using form and submit action to pass the
javascript variable to the perl script. Is there a way I can avoid
using a click of button as an intermediate step. Passing the value as a
query string has a restriction of 1024 characters. I have content which
could be 3000 characters or more.

0 new messages