<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
  <link rel="stylesheet" type="text/css" href="../bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css">
  <style>
    body {
      padding: 10px;
    }
    input[type="text"] {
      font-size: 18px;
    }
  </style>
</head>
<body>
  <form>
    <input type="text" readonly="readonly" id="duration" placeholder="Click here..." size="100" style="text-align: center;" />
    <input type="hidden" name="seconds" value="12345" id="seconds" />
  </form>

  <script type="text/javascript" src="../bower_components/jquery/dist/jquery.min.js"></script>
  <script type="text/javascript" src="../bower_components/jquery-ui/jquery-ui.min.js"></script>
  <script type="text/javascript" src="../src/jquery-time-duration-picker.js"></script>
  <script>
    $(function() {
      $('#duration').timeDurationPicker({
        defaultValue: function() {
          return $('#seconds').val();
        },
        onSelect: function(element, seconds, duration) {
          $('#seconds').val(seconds);
          $('#duration').val(duration);
        }
      });
    });
  </script>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>jQuery Time Duration Picker Example</title>
  <link rel="stylesheet" type="text/css" href="../bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css">
  <style>
    body {
      padding: 10px;
    }
    input[type="text"] {
      font-size: 18px;
    }
  </style>
</head>
<body>
  <form>
    <input type="text" readonly="readonly" id="duration" placeholder="Click here..." size="100" style="text-align: center;" />
    <input type="hidden" name="seconds" value="12345" id="seconds" />
  </form>

  <script type="text/javascript" src="../bower_components/jquery/dist/jquery.min.js"></script>
  <script type="text/javascript" src="../bower_components/jquery-ui/jquery-ui.min.js"></script>
  <script type="text/javascript" src="../src/jquery-time-duration-picker.js"></script>
  <script>
    $(function() {
      $('#duration').timeDurationPicker({
        defaultValue: function() {
          return $('#seconds').val();
        },
        onSelect: function(element, seconds, duration) {
          $('#seconds').val(seconds);
          $('#duration').val(duration);
        }
      });
    });
  </script>
</body>
</html>

Add `title` to example page
Add `title` to example page
