Solved

Finding a previously opened browser window

Posted on 2011-09-29
6
200 Views
Last Modified: 2012-06-22
Hello,

Sorry about the beginners question...

I have a web application (written with Delphi/Intraweb - but i think this is not relevant to the problem) that renders a series of pages as the user works his way through the application.

I have a help window that i have opened and each time i render a new page i want to update the help window with the lastest help text.

So at the onLoad event i want to be able to find the help window and update its URL to the new help page.

How can i keep track of the window that i opened at the begining of the process.  At the moment i can not see a way to keep track of it after each submit and render of new form.  

Are there "global variables" in a web browser that are persistent between each submit?
 
0
Comment
Question by:soozh
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 250 total points
ID: 36814262
You can play with cookies
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 36814266
no way with javascript
0
 

Author Comment

by:soozh
ID: 36814307
well i know that window.open with the same WindowName will just open the new url in the same window.

But the real problem is how to close the window.

How could i do this with cookies? My JS is not so good.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 82

Expert Comment

by:leakim971
ID: 36814401
no way with javascript
0
 
LVL 17

Expert Comment

by:sonawanekiran
ID: 36814551
leakim971's statement is true
0
 

Author Comment

by:soozh
ID: 36814568
so if a web application creates a pop-up window... there is no way it can close it later if a new page has been rendered in the parent window?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question