Selacius Posted February 19, 2006 Share Posted February 19, 2006 I am looking for a simple redirect script where I can set the target for where the page will be loaded. I have this already, <script language="JavaScript1.1"><!--location.replace("url");//--></SCRIPT>but it always opens in the same page that its being called from. I want it to reload the entire page, not just the single frame. Link to comment Share on other sites More sharing options...
Pollux Posted February 20, 2006 Share Posted February 20, 2006 Try: <script type="text/javascript"><!--top.location.href=url;//--></script> Note also you should use the "type" attribute rather than "language" in your script tags now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now