aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Window Problem" Watch "Window Problem" New topic
Author

Window Problem

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 818
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 window.open method which I have set but does nothing in this case since the state of the page is lost. Any suggestions? Thanks in advance.

Rob
 
Don't get me started about those stupid light bulbs.
 
subject: Window Problem