trigger page refresh javascript code example Example: reload page javascript window.location.reload();