Solved

Finding a previously opened browser window

Posted on 2011-09-29
6
196 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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…

758 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

19 Experts available now in Live!

Get 1:1 Help Now