I create a page of search for companies. When I click on the button "Search", a page creates two frames: a frame contains the page of research and the other, the page of the results. As research can take several seconds, then I open a window starting from the page containing code HTML to create the 2 frames. This window kindly requests to the user to wait. This window is closed after code HTML of the page of the results: "window.parent.windowName.close();". When I want to make a research again (when the research and the results on the screen), I open the wait window starting from the page of research and to close it in the page of the results. However, I do not know how to write my JavaScript code to close it "window.??????????????????.close(); ". Is there somebody which could help me?
Search? -> frameset (open window "wait")? -> search and results (closed window "wait")
Search (open window "wait")? -> results (closed window "wait")
You can see an example by using the following link: <!-- m --><a class="postlink" href="http://www3.sympatico.ca/louisaubin/search.htm">http://www3.sympatico.ca/louisaubin/search.htm</a><!-- m -->
Thank you!
Search? -> frameset (open window "wait")? -> search and results (closed window "wait")
Search (open window "wait")? -> results (closed window "wait")
You can see an example by using the following link: <!-- m --><a class="postlink" href="http://www3.sympatico.ca/louisaubin/search.htm">http://www3.sympatico.ca/louisaubin/search.htm</a><!-- m -->
Thank you!