in reply to Re: Retrieving value from HTML->Javascript->Perl
in thread Retrieving value from HTML->Javascript->Perl
Should read:
win=window.open("cgibin/getPrice.pl?textBox='+text+' ","width=250,height=240")
Nope. Not unless the CGI expects the string to arrive with single quotes around it. I suspect that the right thing to do here is to URL-encode 'textBox', via
win=window.open("cgibin/getPrice.pl?textBox=" + escape(text), "width=250,height=240")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Retrieving value from HTML->Javascript->Perl
by TexasTess (Beadle) on Jul 07, 2002 at 00:52 UTC |