Datepicker
How do I make an datepicker?
What is a datepicker? How do you make a datepicker? This script and codes were developed by Kazuki Harada on 09 December 2022, Friday.
Datepicker - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Datepicker</title>
</head>
<body> <head> <link rel="stylesheet prefetch" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.13.3/ui-bootstrap.js"></script>
</head>
<body ng-app="myApp" ng-controller="sampleController"> <div class="container"> <form class="form-horizontal" name="sampleForm" novalidate> <!-- option --> <div class="row"> <label class="col-xs-3 control-label">datepicker-mode:</label> <div class="col-xs-3"> <select class="form-control" ng-model="option.mode" ng-init="option.mode='day'"> <option value="day">day</option> <option value="month">month</option> <option value="year">year</option> </select> </div> <label class="col-xs-3 control-label">show-weeks:</label> <div class="col-xs-3"> <input type="checkbox" class="form-control" ng-model="option.showWeek" ng-init="option.showWeek=true" checked> </div> </div> <div class="row"> <label class="col-xs-3 control-label">min-date:</label> <div class="col-xs-3"> <input type="text" class="form-control" ng-model="option.minDate" ng-init="option.minDate='2010-1-1'"> </div> <label class="col-xs-3 control-label">max-date:</label> <div class="col-xs-3"> <input type="text" class="form-control" ng-model="option.maxDate" ng-init="option.maxDate='2020-12-31'"> </div> </div> <div class="row"> <label class="col-xs-3 control-label">starting-day:</label> <div class="col-xs-3"> <select class="form-control" ng-model="option.statingDay" ng-init="option.statingDay='0'"> <option value="0">日曜日</option> <option value="1">月曜日</option> <option value="3">火曜日</option> <option value="4">水曜日</option> <option value="5">木曜日</option> <option value="6">金曜日</option> </select> </div> <label class="col-xs-3 control-label"></label> <div class="col-xs-3"> </div> </div> <!-- demo --> <div class="row"> <label for="regDate" class="col-xs-3 control-label">登録日</label> <div class="col-xs-3"> <p class="input-group"> <input type="text" class="form-control" id="regDate" ng-model="input1.regDate" is-open="action.isOpen" min-date="option.minDate" max-date="option.maxDate" datepicker-mode="option.mode" show-weeks="{{option.showWeeks}}" starting-day="{{option.statingDay}}" datepicker-popup="yyyy/MM/dd" ng-required="true" close-text="Close" /> <!-- datepicker-options="dateOptions" date-disabled="disabled(date, mode)" --> <span class="input-group-btn"> <button type="button" class="btn btn-default" ng-click="action.isOpen=!action.isOpen"><i class="glyphicon glyphicon-calendar"></i></button> </span> </p> </div> <div class="col-offset-6"></div> </div> <p><pre>{{option | json}}</pre></p> <p><pre>{{input1 | json}}</pre></p> </form> </div>
</body> <script src="js/index.js"></script>
</body>
</html>
Datepicker - Script Codes JS Codes
var app = angular.module('myApp', []);
app.controller('sampleController', ['$scope', function ($scope) {
}]);
Developer | Kazuki Harada |
Username | kazux |
Uploaded | December 09, 2022 |
Rating | 3 |
Size | 2,319 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Write string on canvas. | 3,317 Kb |
A Pen by Kazuki Harada | 1,705 Kb |
Format text at blur | 3,857 Kb |
Infinite-scroll list | 1,795 Kb |
AngularJS Validate Test | 2,630 Kb |
Canvas with AngularJS | 3,035 Kb |
Flip switch on angular | 3,110 Kb |
Write char on canvas. | 3,802 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
A Pen by Matt Popovich | Mpopv | 3,349 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
React Markdown Previewer | C0d0er | 3,190 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
Comment Jquery | SquishyAndroid | 2,421 Kb |
Resize image | Happyhj | 1,892 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Pomodoro Clock | Yas46 | 3,328 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!