java scriopt refresh html body code example
Example 1: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 2: refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
$('#myElement').click(function() {
location.reload();
});
<button onClick="window.location.reload();">Refresh Page</button>