Created
May 31, 2013 07:49
-
-
Save PizzaLiu/5683484 to your computer and use it in GitHub Desktop.
datepicker -- 22.05.2009
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="./static/js/ajaxfileupload.js"></script> | |
<link href="datepicker.css" rel="stylesheet"> | |
<input name="outdate" id="outdate" type="text" /> | |
jq('#indate').DatePicker({ | |
mode:'single', | |
calendars:1, | |
format:'Y年m月d日', | |
starts:1, | |
date: current_date, | |
current: current_date, | |
position: 'bottom', | |
onChange: function(formated, dates){ | |
jq('#indate').val(formated); | |
jq('#indate').DatePickerHide(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment