Well, almost. I want to send a large amount of plain text generated by
my js script to a Perl program on a server.
I can't find any straightforward way to call a Perl script from js, but
a brute force way might be to have an onsubmit function run when the
user clicks a button, have it create a textarea node, write everything
to it, return true from the function which will let the href on the
submit button invoke the .pl file, which of course will get all textarea
text. Or something like that.
If I have to do the above, and if it causes a big flash, is it possible
to write to an iconfied window and have it do the same thing?
I was hoping for something simpler.
Thanks in advance for any suggestions.
my js script to a Perl program on a server.
I can't find any straightforward way to call a Perl script from js, but
a brute force way might be to have an onsubmit function run when the
user clicks a button, have it create a textarea node, write everything
to it, return true from the function which will let the href on the
submit button invoke the .pl file, which of course will get all textarea
text. Or something like that.
If I have to do the above, and if it causes a big flash, is it possible
to write to an iconfied window and have it do the same thing?
I was hoping for something simpler.
Thanks in advance for any suggestions.
Comment