This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
jQuery in Action, 3rd edition