2017-01-10 68 views

回答

0

jQuery的添加timepicker.js在烏拉圭回合的HTML和使用jQuery的下方

<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=""> 
相關問題