veena
09-02-2008, 08:54 PM
Hi everyone,
i have a question which im trying to solve
in jsp1,"onClick" of link im opening in a new window
href="#" onclick="JavaScript:popupOpen('<%=URLString%>','winName1');"><%=strName%></a>
function popupOpen(winURL,winName) {
winName1 = window.open(winURL,winName);
}
in jsp1or jsp2 or jsp3 i have a logout link at the top of the page,when i click logout link in any jsp it redirects to logout page and i also want the window which is opened to be closed.
how can i do this,
how to check a window is open or not in another jsp and if that window is open close it.
Help needed
Advance Thanks to all
i have a question which im trying to solve
in jsp1,"onClick" of link im opening in a new window
href="#" onclick="JavaScript:popupOpen('<%=URLString%>','winName1');"><%=strName%></a>
function popupOpen(winURL,winName) {
winName1 = window.open(winURL,winName);
}
in jsp1or jsp2 or jsp3 i have a logout link at the top of the page,when i click logout link in any jsp it redirects to logout page and i also want the window which is opened to be closed.
how can i do this,
how to check a window is open or not in another jsp and if that window is open close it.
Help needed
Advance Thanks to all