javascript function reload current window code example Example: reload page javascript window.location.reload();