Get started with bootstrap-timepicker CDN

MIT licensed

Bootstrap-timepicker: Select time in forms with Bootstrap datepickers.

Tags:
  • widget
  • timepicker
  • time

Stable version

Copied!

How to start using bootstrap-timepicker CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with bootstrap-timepicker CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bootstrap-icons.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/bootstrap-timepicker/0.5.2/css/bootstrap-timepicker.min.css">
</head>
<body>
    <div class="container mt-5">
        <div class="row">
            <div class="col-md-6 offset-md-3">
                <div class="form-group">
                    <label for="timepicker">Select a time:</label>
                    <input type="text" class="form-control" id="timepicker">
                </div>
            </div>
        </div>
    </div>

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
    <script src="https://cdn.cdnhub.io/bootstrap-timepicker/0.5.2/js/bootstrap-timepicker.min.js"></script>

    <script>
        $(document).ready(function() {
            $('#timepicker').timepicker();
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions