By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,509 Members | 1,306 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,509 IT Pros & Developers. It's quick & easy.

checking for window existance

P: n/a
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')

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 ?

regards

Aug 30 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
http://www.aspfaq.com/5004

Ray at work

"Lambuz" <la*****@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.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')

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 ?

regards

Aug 30 '05 #2

P: n/a
Thank you for your unusefull answer.

I've tried to make a cross posting on 14 forum, but Google News
interface don't allow.

You can cross post only on 5 forum

Aug 30 '05 #3

P: n/a
"Lambuz" <la*****@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Thank you for your unusefull answer.

I've tried to make a cross posting on 14 forum, but Google News
interface don't allow.

You can cross post only on 5 forum

You probably could have cut out the ASP forums ...
Aug 30 '05 #4

P: n/a
Lambuz wrote:
Thank you for your unusefull answer.
If you were interested in getting help rather than pissing people off, then
you would realize that it was a useful answer...
I've tried to make a cross posting on 14 forum, but Google News
interface don't allow.
What does that have to do with the point of the article Ray pointed you at?
Its point was that you should NOT cp so many groups.

You can cross post only on 5 forum


Which is MORE than enough. Especially considering that you included
off-topic groups in your massive cp. This question has nothing to do with
asp (I'm replying from .inetserver.asp.general).

Given your blatant refusal to comply with netiquette, I am hesitant to
provide an answer to your question. However ...
The answer is "no". The object returned by the window.open method is only
available to the code that called it. You would need to use API methods
which are not available to browser scripts to enumerate all open windows on
a machine and grab a handle to one of the open windows.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 30 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.