hi guys,
I have code like this:
window.open('somePage','myWin','features');
the above script is emitted by a DLL (using ASP.NET).
i cannot control how it emits that code.
now i want to check whether the popup has opened. if you notice above, no variable has been assigned to the popup.
is there any way i can detect wether a popup named 'myWin' is open currently other than going the variable way?
alternative that i have is:
theWin=window.open('somePage','myWin','features');
if(theWin)
{
//do code here
}
but implementing the above will take huge time as i have to recreate a new DLL and apply the same throughout...
Known is handfull, Unknown is worldfull
I have code like this:
window.open('somePage','myWin','features');
the above script is emitted by a DLL (using ASP.NET).
i cannot control how it emits that code.
now i want to check whether the popup has opened. if you notice above, no variable has been assigned to the popup.
is there any way i can detect wether a popup named 'myWin' is open currently other than going the variable way?
alternative that i have is:
theWin=window.open('somePage','myWin','features');
if(theWin)
{
//do code here
}
but implementing the above will take huge time as i have to recreate a new DLL and apply the same throughout...
Known is handfull, Unknown is worldfull