Top Ad

Bootstrap UI Clock Picker


Use this code to get time in Hours and Minutes in through clockpicker.

<!doctype html>
<head>
<link href="https://cdnjs.cloudflare.com/ajax/libs/clockpicker/0.0.7/bootstrap-clockpicker.min.css" rel="stylesheet">
</head>
<body>
<div class="input-group clockpicker" data-autoclose="true">
                                <input type="text" class="form-control" value="09:30" >
                                <span class="input-group-addon">
                                    <span class="fa fa-clock-o"></span>
                                </span>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clockpicker/0.0.7/bootstrap-clockpicker.min.js"></script>
<script>
$('.clockpicker').clockpicker();
</script>
</html>

Comments

Popular posts from this blog

Initial-scale, Minimum-scale, Maximum-scale and user-scalable, What are these terms in responsive design?

Versions of Epsilon