Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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: 815
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
 
Consider Paul's rocket mass heater.
 
subject: Window Problem
 
Similar Threads
JavaScript and Excel - Two Issues
Which the method of call of a service in the NT?
Redirecting HTML page
Hi All
Opening New Window with a different MIME TYPE