in reply to Retrieving value from HTML->Javascript->Perl
I'm not clear on whether you're getting a 404 page in the popup, or whether the CGI is producing empty results.
If the former, I suspect you have a problem with this line win=window.open("cgibin/getPrice.pl?textBox="+text, Typically, the CGI directory is named "cgi-bin", not "cgibin". Double-check this. Also, you might have better luck using a fully qualified URL. E.g., win=window.open("http://www.example.com/cgi-bin/getPrice? ...
|
|---|