일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- ssh
- port
- tomcat
- VirtualBox
- Windows
- Mac
- Source
- resource
- GIT
- Windows 10
- bash
- maVen
- profile
- netsh
- Eclipse
- 단축키
- grep
- xargs
- IntelliJ
- 네트워크
- import
- plugin
- web.xml
- 줄바꿈 문자
- JavaScript
- vscode
- Quartz
- lsof
- context
- find
- Today
- Total
develog
[bootstrap] datepicker 본문
$('.datepicker').datepicker({
format: 'yyyy-mm-dd',
language: 'ko',
todayHighlight: true,
autoclose: true,
});
$(document).ready(function () {
$('.item_add_option_box dl dt span[class*=optionTextNm]').each(function(index, elem) {
if ($(elem).text().indexOf("날짜") > -1) {
let inputText = $(elem).parent().parent().children('dd').children('input[type=text]');
$(inputText).prop('placeholder', 'YYYY-MM-DD');
$(inputText).datepicker({
format: 'yyyy-mm-dd',
language: 'ko',
todayHighlight: true,
autoclose: true,
});
}
});
});
https://bootstrap-datepicker.readthedocs.io/en/latest/
bootstrap-datepicker — bootstrap-datepicker documentation
Data API As with bootstrap’s own plugins, datepicker provides a data-api that can be used to instantiate datepickers without the need for custom javascript. For most datepickers, simply set data-provide="datepicker" on the element you want to initialize,
bootstrap-datepicker.readthedocs.io
https://github.com/uxsolutions/bootstrap-datepicker
GitHub - uxsolutions/bootstrap-datepicker: A datepicker for twitter bootstrap (@twbs)
A datepicker for twitter bootstrap (@twbs). Contribute to uxsolutions/bootstrap-datepicker development by creating an account on GitHub.
github.com
Datepicker for Bootstrap
uxsolutions.github.io
라이브러리 다운로드
https://github.com/uxsolutions/bootstrap-datepicker/releases
Releases · uxsolutions/bootstrap-datepicker
A datepicker for twitter bootstrap (@twbs). Contribute to uxsolutions/bootstrap-datepicker development by creating an account on GitHub.
github.com