javascript element refresh code example
Example: refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();
//with no cache
document.location.reload(true);
//else
document.location.reload();