refreshing page in javascript code example
Example 1: how to completely reload page in jquery
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
Example 2: reload page javascript
window.location.reload();