mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Create index.html
This commit is contained in:
parent
37e4d8ad8c
commit
2421bcb6e5
27
index.html
Normal file
27
index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user