Javascript Redirect

David Carr

1 min read - 4th Jul, 2010

This tutorial will show you how to redirect your page with JavaScript.

first you need to tell the browser your using JavaScript by using


<p>Here&#39;s the full script:</p>


<code class="language-javascript"><script type="text/javascript">
window.location = "http://www.dcblog.dev";
</script>

 

0 comments
Add a comment

Copyright © 2006 - 2024 DC Blog - All rights reserved.