in reply to Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?
I can't tell if you are misunderstanding something fundamental or just wording your question poorly.
In either case, it's not clear to me exactly what you want to do.
The browser sends a request to the server, which runs your CGI script, which generates output including your javascript, which is then sent back to the browser, which is where your javascript is run.
Your javascript code can send that data back to your CGI script on a subsequent request, whether it be a form submission, embedded in a link that is clicked, or via ajax.
How you do it depends on what you want to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?
by lightoverhead (Pilgrim) on May 10, 2012 at 15:00 UTC | |
by sauoq (Abbot) on May 10, 2012 at 16:35 UTC | |
by locked_user sundialsvc4 (Abbot) on May 10, 2012 at 21:08 UTC | |
by sauoq (Abbot) on May 10, 2012 at 21:20 UTC | |
by Anonymous Monk on May 10, 2012 at 21:15 UTC |