hey guys hows it going
working on a small project which in involve a pop up window and a parent page
ive got a logout link which will close the pop up and refresh the parent window saying youve logged out sucessfully
ive achived this sucsessfully with this
problem i now have is that some users will close the parent window because it doesnt do anything while there using the pop up
so what i need to do is some how check if the parent window is open or not to whether the window closes
i can just put self.close before the link and it will close the window and then try and refresh the parent window but i need to provide confirmation to the user theyve logged out
im dealing with some senstive information such as, usernames, passwords and addresses.
working on a small project which in involve a pop up window and a parent page
ive got a logout link which will close the pop up and refresh the parent window saying youve logged out sucessfully
ive achived this sucsessfully with this
Code:
<a href="javascript:;" onclick="opener.location='login.php?logout=yes';self.close()">
problem i now have is that some users will close the parent window because it doesnt do anything while there using the pop up
so what i need to do is some how check if the parent window is open or not to whether the window closes
i can just put self.close before the link and it will close the window and then try and refresh the parent window but i need to provide confirmation to the user theyve logged out
im dealing with some senstive information such as, usernames, passwords and addresses.













