javascript - How to close the popup window after facebook login and reload the parent window in ajax -
I need to open Facebook login through AJAX in woindow Im getting response from Facebook after login login The popup window must be closed and the original window needs to be reloaded.
$ (document) .ready (function () {var url = $ ("# facebook_login_container"). 'A'). Ether ('href'); Window.open (url, this. Target); Window.clause ();}); Here, see the URL as www.facebook.com.
Thanks in advance.
You can try the following in the popup page, this way I get it to work in my application Gone, nothing worked, and forgetting the rows without comment, they tested me:
& lt; Script language = "javascript" type = "text / javascript" & gt; Close the function () {window.opener.location.href = window.opener.location.href; Document.location.href = document.location.href; //window.opener.location.reload(true); Self.close (); // winOpener = window.self.opener; //winOpener.location.reload (); //window.close (); } & Lt; / Script & gt;
Comments
Post a Comment