Stewart531
Programmer
Hi, I'm having a problem closing popup windows created by my program. Right now, I'm trying to call a function I wrote in a javascript file from an ASP file. When I call the function in the js file, it doesn't seem to be aware of the popup that was created earlier by that same js file.
Code:
var NFW = null
function a()
{
NFW = window.open()
}
function b()
{
NFW.window.close()
}
Anybody know what I'm doing wrong or have an alternate solution?
Thanks,
Dave
Code:
var NFW = null
function a()
{
NFW = window.open()
}
function b()
{
NFW.window.close()
}
Anybody know what I'm doing wrong or have an alternate solution?
Thanks,
Dave