Jquery 带有日期选择器的Timepicker插件

Jquery 带有日期选择器的Timepicker插件,jquery,html,Jquery,Html,目前我正在使用DatePicker(查看来源:http://jqueryui.com/demos/datepicker/default.html)但是我在添加Timepicker插件时遇到了困难(https://github.com/trentrichardson/jQuery-Timepicker-Addon),如何正确使用该插件 谢谢:) $(函数(){ $('#datetime')。日期时间选择器({ 第二:是的, 时间格式:“hh:mm:ss”, 斯蒂芬:2, 分钟:10,, 第二步:1

目前我正在使用DatePicker(查看来源:http://jqueryui.com/demos/datepicker/default.html)但是我在添加Timepicker插件时遇到了困难(https://github.com/trentrichardson/jQuery-Timepicker-Addon),如何正确使用该插件

谢谢:)


$(函数(){
$('#datetime')。日期时间选择器({
第二:是的,
时间格式:“hh:mm:ss”,
斯蒂芬:2,
分钟:10,,
第二步:10
...  
});  
});  
请在此处阅读其文档:

首先,你必须更具体一些。你有什么问题?我已经添加了附加css,但在找到将两者(datepicker和timePicker).js)集成在一起的正确方法时遇到了问题。请将javascript和css文件包含到文档中。我已经阅读了这部分内容,但如何将addon.js与datepicker.js一起包含?否?这里包括:js/jquery-ui-1.7.2.custom.min.jsI用于jquery-1.7.2.min.js、jquery-ui-1.7.2.custom.min.js和timepicker,但仍然没有运气。
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>  
<!-- core, slider, datepicker -->  
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>  
<script type="text/javascript" src="js/timepicker.js"></script>  

<script type="text/javascript">  
$(function() {  
    $('#datetime').datetimepicker({  
      showSecond: true,
      timeFormat: 'hh:mm:ss',
      stepHour: 2,
      stepMinute: 10,
      stepSecond: 10
      ...  
     });  
});  
</script>  

<input type="text" name="datetime" id="datetime" value="">