Posted by Jim Michaels on 03/03/06 03:39
"Lambuz" <lambu76@gmail.com> wrote in message
news:1125406294.323184.52410@g43g2000cwa.googlegroups.com...
> Is there any way to check the existance of a window by the name ?
>
> I'm using this code:
> window.open("http://www.google.com",'targetWin1')
sort of.
var w=window.open("http://www.google.com",'targetWin1')
if (null==w) {
//oops. no window - must have been killed by a popup blocker.
} else {
//yay. got a window
}
do something with w
w.close();
window.focus();
>
> If I open a window using previous code without getting immediatly
> return value of open method, can I get it in a second moment ? For
> example using the value of param sName of open method ?
I don't understand. second moment? what sName? you must be reading out of
some book.
in english?
>
> regards
>
[Back to original message]
|