Reload the current page

Reload and keep the POST data

location.reload();

Reload and ignore the POST data

location.href = location.href;

See also