how to refresh page on click on id code example
Example 1: page refresh jquery on click
$('#something').click(function() {
location.reload();
});
Example 2: how to completely reload page in jquery
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);