refresh button click jquery code example
Example 1: page refresh jquery on click
$('#something').click(function() {
location.reload();
});
Example 2: reload page jquery
location.reload();
$('#something').click(function() {
location.reload();
});
location.reload();