feedbackWin is being defined by the parent via a link to to the following code:
Code:
function openFeedbackWindow(thePage) {
feedbackWin=window.open(thePage,'feedback',settings)
}
So do a need to declare another variable in that function to test on or can I test feedbackWin?
I tried doing something like the following but it opened a new window instead of focusing the existing one.
Code:
if (!feedbackWin) {
feedbackWin=window.open(url,feedbackWin,settings);
}
else {
feedbackWin.focus();
}
Thanks for your input!
Bookmarks