You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 line
1.0KB

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  4. <title>LiveSaver Test Page</title>
  5. <script type="text/javascript" charset="utf-8" src="../vendor/jquery.min.js"></script>
  6. <script type="text/javascript" charset="utf-8" src="../vendor/jquery.cookie.js"></script>
  7. <script type="text/javascript" charset="utf-8" src="../src/jquery.json2.js"></script>
  8. <script type="text/javascript" charset="utf-8" src="../src/jquery.livesaver.js"></script>
  9. <script type="text/javascript" charset="utf-8">
  10. jQuery(function($){
  11. // $.livesaver.setPageKey("foo_page"); // optional
  12. // var reset = false;
  13. // if(reset) {
  14. // $("input").livesaver("reset");
  15. // }
  16. $("input").livesaver();
  17. });
  18. </script>
  19. </head>
  20. <body id="index">
  21. <label for="foo">foo</label><input type="text" name="foo" value="" id="foo" />
  22. </body>
  23. </html>