简体   繁体   English

未捕获的类型错误:$(...).tempusDominus 不是 function

[英]Uncaught TypeError: $(...).tempusDominus is not a function

   <!-- Vendor JS Files -->
  <script src="../assets/vendor/jquery/jquery-3.6.0.js"></script>
  <script src="../assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="../assets/vendor/datatables/datatables.js"></script>
  <script src="../assets/vendor/apexcharts/apexcharts.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.14.0-beta2/js/bootstrap-select.min.js" integrity="sha512-FHZVRMUW9FsXobt+ONiix6Z0tIkxvQfxtCSirkKc5Sb4TKHmqq1dZa8DphF0XqKb3ldLu/wgMa8mT6uXiLlRlw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <script src="../assets/vendor/chart.js/chart.min.js"></script>
  <script src="../assets/vendor/echarts/echarts.min.js"></script>
  <script src="../assets/vendor/quill/quill.min.js"></script>
  <script src="../assets/vendor/simple-datatables/simple-datatables.js"></script>
  <script src="../assets/vendor/tinymce/tinymce.min.js"></script>
  <script src="../assets/vendor/php-email-form/validate.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/tempus-dominus/6.0.0-beta2/js/tempus-dominus.js"></script>
  <script src="https://kit.fontawesome.com/a98bc9d553.js" crossorigin="anonymous"></script>

  <!-- Template Main JS File -->
  <script src="../assets/js/main.js"></script>

What's wrong with my script init?我的脚本初始化有什么问题? already tried, it always give me Uncaught TypeError: $(...).tempusDominus is not a function eventhough the Jquery already at the top已经尝试过,它总是给我Uncaught TypeError: $(...).tempusDominus is not a function eventhough the Jquery already at the top

This page outlines using the picker with jQuery. The jQuery-provider.js file must be included after the main picker code.此页面概述了如何使用 jQuery 的选择器。jQuery -provider.js 文件必须包含在主要选择器代码之后。 jQuery is no longer a requirement and is here for backwards compatibility. jQuery 不再是必需的,这里是为了向后兼容。

Forgot to include the JSProvider.js忘记包含 JSProvider.js

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM