mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-12-08 05:34:22 +00:00
28 lines
735 B
HTML
28 lines
735 B
HTML
|
<html>
|
||
|
<link rel="stylesheet" type="text/css" href="jquery.datetimepicker.css"/>
|
||
|
<body>
|
||
|
<input type="text" value="2014/03/15 05:06" id="datetimepicker"/>
|
||
|
<input type="text" id="datetimepicker1"/>
|
||
|
<input type="text" id="datetimepicker2"/>
|
||
|
<input type="text" id="datetimepicker3"/>
|
||
|
</body>
|
||
|
<script src="jquery.js"></script>
|
||
|
<script src="jquery.datetimepicker.js"></script>
|
||
|
<script>
|
||
|
$('#datetimepicker').datetimepicker();
|
||
|
$('#datetimepicker').datetimepicker({value:'2015/04/15 05:06'});
|
||
|
$('#datetimepicker1').datetimepicker({
|
||
|
datepicker:false,
|
||
|
format:'H:i',
|
||
|
value:'12:00',
|
||
|
});
|
||
|
$('#datetimepicker2').datetimepicker({
|
||
|
timepicker:false,
|
||
|
format:'d/m/Y',
|
||
|
});
|
||
|
$('#datetimepicker3').datetimepicker({
|
||
|
inline:true,
|
||
|
});
|
||
|
</script>
|
||
|
</html>
|