reload window html code example Example 1: javascript reload page location.reload(); Example 2: reload page javascript window.location.reload();