RE: Perl CGI redirect and Javascript question
[email protected] ("David Gray") Tue, 6 May 2003 09:09:04 -0400
| Newsgroups | perl.javascript |
|---|---|
| Organization | Advent 3B2 - Projects Dept. |
| Message-ID | <[email protected]> |
Hi Blah, > test2_window.the_text_field.value = "some value" > > The problem I am having is that in script1.pl, I do not know > how to associate the name "test2_window" with the window when > I open it using CGI: > > $query = new CGI; > print $query->redirect(-location=>"/mycgi/script2.pl"); > > How do I name a window when using a CGI redirect? Thanks. You don't need to - you can use opener instead of naming it. opener.text_field.value = "some value"; Cheers, Dave