Solved

Finding a previously opened browser window

Posted on 2011-09-29
6
197 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now