how to refresh a method javascript code example
Example 1: js refresh button
<a onClick="window.location.reload()">Refresh</a>
Example 2: script refresh js
window.location.href = window.location.pathname + window.location.search + window.location.hash;