on page refresh jquery code example
Example 1: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 2: How can I refresh a page with jQuery
$('#something').click(function() {
location.reload();
});
Example 3: reload page jquery
location.reload();