in reply to Re: Displaying cgi-tmpl file in new window
in thread Displaying cgi-tmpl file in new window

Yeah-I do rely on Google a lot-I just don't know what to search on here.
The way I understand your response-can you confirm this is what you are saying:
1. In the anchor tag, call a windowOpen JS function (pass hidden parameter value to it, say 'Temp').
2. In the windowOpen JS function:
a)Set hidden variable to the passed value (MyVar=Temp)
b)Call window.open and customize
c)Set window.onLoad = <path to my cgi file>
In this case, will the variable MyVar still be accessible in the CGI script?
Thanks!
  • Comment on Re^2: Displaying cgi-tmpl file in new window

Replies are listed 'Best First'.
Re^3: Displaying cgi-tmpl file in new window
by wfsp (Abbot) on Jul 08, 2004 at 00:10 UTC
    Set window onload to call a function. This would tack a '?' and the variable (having escaped it) onto the end of the cgi filename. Call the script.
    'javascript tutorial window.open' would give you a good start.
    wfsp

    update:
    I've posted a script you could use in the question you posted to devshed.
    Thankfully, it is very similar to the other reply. I'm not completly mad yet!
    Apologies to all for any OT infringments
    wfsp