Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Retrieving value from HTML->Javascript->Perl

by dws (Chancellor)
on Jul 05, 2002 at 22:06 UTC ( [id://179751]=note: print w/replies, xml ) Need Help??


in reply to Retrieving value from HTML->Javascript->Perl

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? ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://179751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-25 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found