Advertisement
Guest User

Untitled

a guest
May 18th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. <!doctype html>
  2.  
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>Date Selector - BrK 2016</title>
  7.  
  8. <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
  9. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  10. <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
  11. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  12. <link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
  13. <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  14. <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  15. <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  16. <link rel="stylesheet" href="/resources/demos/style.css" />
  17. <script>
  18. function pickDate(DateObject){
  19. // alert(DateObject.name)
  20. $(function() {
  21. $("#"+DateObject.name).datepicker({ dateFormat: "yy-mm-dd" }).val()
  22. });
  23. }
  24. /*
  25. $(function() {
  26. $( "#datepicker" ).datepicker({
  27. changeMonth: true,
  28. changeYear: true
  29. });
  30. });
  31. */
  32. </script>
  33. </head>
  34. <body>
  35.  
  36.  
  37. <p>Date: <input type="text" name="FromDate" id="FromDate" size="15" onClick="pickDate(this)"/></p>
  38.  
  39. <input type="button" class="btn btn-lg btn-success" id="btn" value="TrackME!" onClick="javascript: window.open('http://livetracker.elektronik-welt.at/track.php?date=' + document.getElementById('FromDate').value);" />
  40.  
  41. <!-- <a class="btn btn-lg btn-success" onclick="on1()" id="1on" role="button">Turn ON </a>
  42.  
  43. <a href="http://livetracker.elektronik-welt.at/track.php?date=" class="btn btn-success" role="button">TrackME!</a>
  44.  
  45.  
  46.  
  47.  
  48. <script>function on1() {$.load("http://livetracker.elektronik-welt.at/track.php?date=" + $('#FromDate')); }</script> -->
  49.  
  50.  
  51.  
  52. </body>
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement