Jquery mobile 无法读取属性'_默认值';未定义Jquery移动日期选择器的
我正在尝试实现Jquery Mobile datepicker包装器,但它给了我datepicker.js文件中的错误,无法读取未定义的属性“\u defaults”。我认为它根本无法识别js文件 我在头部的index.html中引用了它Jquery mobile 无法读取属性'_默认值';未定义Jquery移动日期选择器的,jquery-mobile,datepicker,Jquery Mobile,Datepicker,我正在尝试实现Jquery Mobile datepicker包装器,但它给了我datepicker.js文件中的错误,无法读取未定义的属性“\u defaults”。我认为它根本无法识别js文件 我在头部的index.html中引用了它 <script src="js/jquery.mobile.datepicker.js"></script> <link rel="stylesheet" href="css/jquery.mobile.datepicker.cs
<script src="js/jquery.mobile.datepicker.js"></script>
<link rel="stylesheet" href="css/jquery.mobile.datepicker.css" />
<link rel="stylesheet" href="css/jquery.mobile.datepicker.theme.css" />
然后叫它如下
<input type="text" id="date-input" data-inline="true" data-role="date">
您还需要导入jquery ui