Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <title>Date Selector - BrK 2016</title>
- <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
- <link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
- <link rel="stylesheet" href="/resources/demos/style.css" />
- <script>
- function pickDate(DateObject){
- // alert(DateObject.name)
- $(function() {
- $("#"+DateObject.name).datepicker({ dateFormat: "yy-mm-dd" }).val()
- });
- }
- /*
- $(function() {
- $( "#datepicker" ).datepicker({
- changeMonth: true,
- changeYear: true
- });
- });
- */
- </script>
- </head>
- <body>
- <p>Date: <input type="text" name="FromDate" id="FromDate" size="15" onClick="pickDate(this)"/></p>
- <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);" />
- <!-- <a class="btn btn-lg btn-success" onclick="on1()" id="1on" role="button">Turn ON </a>
- <a href="http://livetracker.elektronik-welt.at/track.php?date=" class="btn btn-success" role="button">TrackME!</a>
- <script>function on1() {$.load("http://livetracker.elektronik-welt.at/track.php?date=" + $('#FromDate')); }</script> -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement