brem13 Posted August 29, 2010 Share Posted August 29, 2010 is there a way to auto refresh the same page youre on after a script runs? Quote Link to comment Share on other sites More sharing options...
PaulRyan Posted August 29, 2010 Share Posted August 29, 2010 Indeed there is brem13 you can use one of the following Thei code must be placed before any content is displayed on the page header("Location: URL HERE"); This code can be placed anywhere <script>location.replace("URL HERE");</script> Hopefully those will be of use, if not just let me know Thanks, Paul. Quote Link to comment Share on other sites More sharing options...
brem13 Posted August 29, 2010 Author Share Posted August 29, 2010 sorry, i should have explained more, i have a login script in a header on a page, thats running a login script in an iframe, after the login script is run, i want it to refresh the header, thus refreshing the whole page, not redirecting it Quote Link to comment Share on other sites More sharing options...
brem13 Posted August 29, 2010 Author Share Posted August 29, 2010 ok, i figured it out, i made a javascript reload function and called it from the login script running in the iframe Quote Link to comment Share on other sites More sharing options...
PaulRyan Posted August 29, 2010 Share Posted August 29, 2010 Glad you worked it out Brem13, if you're stuck with anything just post again Thanks, Paul. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.