File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Window Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Window Problem" Watch "Window Problem" New topic

Window Problem

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 832
Try and make this brief as possible without sacrificing clarity...
-browser window running a perl script generates an HTML form
-submitting the form recalls the perl script but only after generating an Excel spreadsheet
-an in-line javascript is called which opens the Excel spreadsheet up in a new window
-if I set focus back to the parent window and create the spreadsheet again (each call generates a new spreadsheet but names it the same thing)
-how can I either
a) insert HTML in the child window to close on an onblur event or
b) replace the content in the window on each consecutive call

I know about parameter 4 of the method which I have set but does nothing in this case since the state of the page is lost. Any suggestions? Thanks in advance.

I agree. Here's the link:
subject: Window Problem
It's not a secret anymore!