Remember status after reload of page

Remember status after reload of page

I have a script that has a button wich simply removes itself when clicked. But when I reload the page the button appears again.

How can I add a "memory" so that the button is gone also after reloading?

Here is the script jq2.html
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
  5. </script>

  6. </head>
  7. <body>

  8. <!--hiding the current HTML element-->
  9. <script>
  10. $(document).ready(function(){
  11.   $("#x").click(function(){
  12.     $(this).hide();
  13.   });
  14. });
  15. </script>

  16. <button id="x">Click me and I'm gone</button>

  17. <br/>

  18. <form name="input" action="jq2.html" method="get">
  19. Username: <input type="text" name="user">
  20. <input type="submit" value="Submit">
  21. </form>

  22. </body>
  23. </html>
  24.