Session storage

Save a value that only lasts until the browser is closed.

Each example uses jQuery to simplify adding event handlers and selecting the input and button.