reload all pages simple javascript scrip code example Example: refresh page js window.location.reload(true);