0
嗨,我想實現一個基本的timepicker例子,我遇到: Uncaught Type Error: Object[object Object] has no method timepicker
未捕獲的類型錯誤:對象的翻譯:有沒有一種方法timepicker有
代碼:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" href="js/jquery.ui.timepicker.css" rel="stylesheet" />
<!--<script type="text/javascript" src="js/jquery.ui.timepicker.js"></script>-->
<script type="text/javascript" src="js/jquery.timepicker.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#id1').timepicker();
});
</script>
</head>
<body>
Input: <input id="id1" type="text" name="fullname"><br>
</body>
</html>