<js> Change parent.window src then iframe src
I've come to a problem and I've got no idea how to fix this, when I press the logout button I want the website to completely refresh and then change the iframe src/href.
My website is running iframe therefor I need to refresh parent window(to get rid of menu items when logged in) then change the iframe src to the src above.
parent.window.location='http://mydomain.com'; // parent
window.location='http://mydomain.com/php/account.php?action=login&message=logout'; // iframe
I know this is possible by $_GET function but I've restricted the domain so the domain can only be http://mydomain.com not *.com?logout=true etc.
Thanks in advance!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)