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.

32 lines
1.3 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 range (slider)</h1>
  15. </div>
  16. <form action="wurst.php" method="get">
  17. <div data-role="fieldcontain">
  18. <label for="quantity1">Quantity:</label>
  19. <input type="range" id="quantity1" name="quantity1" min="1" max="100" value="5">
  20. </div>
  21. <div data-role="fieldcontain">
  22. <label for="quantity2">Quantity:</label>
  23. <input type="range" id="quantity2" name="quantity2" min="1" max="100" value="5"
  24. data-theme="e" data-track-theme="b">
  25. </div>
  26. <button type="submit" name="submit" value="submit-value">Submit</button>
  27. </form>
  28. <div data-role="footer">
  29. <h1>www.goodcleanfun.de</h1>
  30. </div>
  31. </div>
  32. </body>
  33. </html>