<meta http-equiv="refresh" content="5; URL=http://www.yourdomain.com/yoursite.html">
If it has to be in the script use setTimeout like:
setTimeout(function(){
window.location.reload(1);
}, 5000);
More Related Contents:
- How to display an chage photo option on mouse hover similar to linkedin using Javascript? [closed]
- How to force browser to show image 3 inches wide?
- HTML Form Submit pass array to PHP [closed]
- Jquery background-image
- Add/Remove Class of Nav Objects on Page Scroll
- Why does jQuery or a DOM method such as getElementById not find the element?
- jQuery .live() vs .on() method for adding a click event after loading dynamic html
- jQuery click events firing multiple times
- Post data to JsonP
- Filter array of objects with another array of objects
- Check if event is triggered by a human
- Track event in google analytics upon clicking form submit
- make iframe height dynamic based on content inside- JQUERY/Javascript
- How to deeply merge two object values by keys
- Detect the Enter key in a text input field
- jQuery/Javascript function to clear all the fields of a form [duplicate]
- Regex to Match Symbols: !$%^&*()_+|~-=`{}[]:”;’?,./
- Javascript regex returning true.. then false.. then true.. etc [duplicate]
- Copy to clipboard without Flash
- Can I change an HTML element’s type?
- how to disable DIV element and everything inside [duplicate]
- How Do I Stop My Web Content From Shifting Left When The Vertical Scrollbar Appears? Roll-Up of Advice 2017 [duplicate]
- Using jQuery and iFrame to Download a File
- jQuery UI Dialog Box – does not open after being closed
- JavaScript / jQuery closure function syntax
- jQuery ajax async: false causes a strange warning?
- Changing the page title with Jquery
- How to create a new img tag with JQuery, with the src and id from a JavaScript object?
- How to iterate a table rows with JQuery and access some cell values?
- How can I compare two color values in jQuery/JavaScript?