window.location.reload false javascript code example Example 1: javascrpt refresh page location.reload(); Example 2: reload page javascript window.location.reload();