Dec 2, 2000, 6:40 PM
Post #1 of 1
Perl to JS and back?
There must be a way to do this... I have a CGI that reads an image file and gives me the dimensions of that image. I also have a CGI that is invoked by a JS function that spits out HTML to take an image and put it into its own window with a caption, sizing the window according to the image dimensions. The problem is, I have to pass the image dimensions to the JS function... how can I use the CGI to read them out of the file??
Even if this means the JS function just calls the CGI and it does all the work...