location reload with input fields javascript code example Example: reload page javascript window.location.reload();