Learning by doing: Reading books and trying to understand the (code) examples
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.

31 lines
1.2 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>My first jQuery Mobile code</title>
  6. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
  7. <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
  8. <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. </head>
  11. <body>
  12. <div data-role="page" id="home">
  13. <div data-role="header">
  14. <h1>Form with HTML5 date fields</h1>
  15. </div>
  16. <form action="wurst.php" method="get">
  17. <div data-role="fieldcontain">
  18. <label for="birth">Your birthdate:</label>
  19. <input type="date" id="birth" name="birth">
  20. </div>
  21. <div data-role="fieldcontain">
  22. <label for="favemonth">Your favourite month:</label>
  23. <input type="month" id="favemonth" name="favemonth">
  24. </div>
  25. <button type="submit" name="submit" value="submit-value">Submit</button>
  26. </form>
  27. <div data-role="footer">
  28. <h1>www.goodcleanfun.de</h1>
  29. </div>
  30. </div>
  31. </body>
  32. </html>