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