Hi everyone,
I have an issue with a forgotten window.
I spawn the window in one page, then opener switches to another page. When that occures, if i check window handle if it is null, it is null, even though I have it still opened.
I have declared this window in the javascript file on top as var window_handler and then in function in that javascript I have something like window_handler = window.open(….);
now when the opener changes the url, i use the same javascript file and in that file i have something like if(window_handler == null){ alert(‘windows is null’)}
so the question is, is there a way to declare the window_handle as a global variable for that particular website, or is there a way to loop all open browser windows and check the title or some other property of the window that can show me which window is that?
cheers
s.