How Can I mimic a meta refresh with JS?

Posted by MrEnder on Stack Overflow See other posts from Stack Overflow or by MrEnder
Published on 2010-03-20T07:55:57Z Indexed on 2010/03/20 8:01 UTC
Read the original article Hit count: 389

Filed under:
|
|
|

I tried to do

<script type="text/javascript"> //<![CDATA[ document.write('<meta http-equiv="refresh" content="0;url=index.php" />'); //]]> </script>

but that doesn't validate on strict =[

how can I do that with JS alone?

© Stack Overflow or respective owner

Related posts about js

Related posts about meta