嗨,我正在尝试实现一个基本的时间选择器示例,我遇到:
Uncaught Type Error: Object[object Object] has no method 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>