Welcome to the Monastery | |
PerlMonks |
Re: Retrieving value from HTML->Javascript->Perlby dws (Chancellor) |
on Jul 05, 2002 at 22:06 UTC ( [id://179751]=note: print w/replies, xml ) | Need Help?? |
The result on page that I get is UNDEFINED.
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? ...
In Section
Seekers of Perl Wisdom
|
|