reload code javascript without page code example
Example 1: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 2: script refresh js
window.location.href = window.location.pathname + window.location.search + window.location.hash;