I have a facebook login in a pop up window. When the user is logged in, I want it to refresh the parent window and close that pop up.
Refreshing my parent window doesnt work. Ive debugged and it works when i remove the facebook login and just pop up and empty page. It seems the trip to a different server for the facebook login in the popup breaks the connection between parent and child.
Is there any way to maintain that connection?
I'm opening a pop up with:
then I use this to refresh parent and close child window.Code:<a href="javascript:;" onClick="window.open('/fb/login/','fblogin','width=750,height=650')">
Code:<script language="JavaScript"> <!-- window.parent.document.location.reload(); window.close(); //--> </script>



Reply With Quote


Bookmarks