how to call a function with parameters in javascript after refresh of page and click on button code example
Example: page refresh jquery on click
$('#something').click(function() {
location.reload();
});
$('#something').click(function() {
location.reload();
});