stop refresh page in javascript code example
Example 1: refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();
Example 2: javascript refresh page automatically
<meta http-equiv="refresh" content="30"/>
Example 3: refresh page js
window.location.reload(true);