Topic: pickatime is not a function

nsavill free asked 4 years ago

I am trying to implement a MDB time picker but I am getting

Uncaught TypeError: $(...).pickatime is not a function at HTMLDocument.<anonymous> (timepicker.html:32) at e (jquery.min.js:2) at t (jquery.min.js:2)

I am using the CDN version of MDB, and all code is copied and pasted straight from your website.


<!-- JQuery -->
<script type="text/javascript" src=""></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src=""></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src=""></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src=""></script>

<div class="md-form">
  <input placeholder="Selected time" type="text" id="input_starttime" class="form-control timepicker">
  <label for="input_starttime">Light version, 12hours</label>

    $(document).ready(function () {
        // Time Picker Initialization

Please can you advise what I am doing wrong.

Many thanks Nick

Mateusz Łubianka staff answered 4 years ago

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.15.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No