javascript refresh current page after update code example Example: reload page javascript window.location.reload();