Finding a previously opened browser window

Posted on 2011-09-29
Last Modified: 2012-06-22

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?
Question by:soozh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
LVL 17

Accepted Solution

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

Assisted Solution

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

Author Comment

ID: 36814307
well i know that 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.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 82

Expert Comment

ID: 36814401
no way with javascript
LVL 17

Expert Comment

ID: 36814551
leakim971's statement is true

Author Comment

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?

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

733 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