javascript reload page through script code example Example: refresh window js window.location.reload();