awesomebeats
Technical User
i'm using this code to try to redirect a window named 'active'. i get an error saying 'active' is undefined. my resources say i should be able to refer to the window by its name.
if (active.closed) {
top.location="../index.cfm";
} else {
active.location="close.cfm";
}
this is the code i open the window with:
window.open('active.cfm','active','width=250,height=175,scrollbars=no, resize=yes');
why can't i refer to the window by its name or can i and am i just doing something wrong.thanx
awesomebeats
if (active.closed) {
top.location="../index.cfm";
} else {
active.location="close.cfm";
}
this is the code i open the window with:
window.open('active.cfm','active','width=250,height=175,scrollbars=no, resize=yes');
why can't i refer to the window by its name or can i and am i just doing something wrong.thanx
awesomebeats