Trent Richardson's Datetimepicker not showing Time Picker-Collection of common programming errors

Trent Richardson’s Datetimepicker is not showing the time picker (only jQuery’s date picker). Tested it 2 months ago and it is working properly. Just upgraded the JS last month.

  1. This is the current js imports:

    • jquery-1.8.2.min.js
    • jquery-ui-1.8.24.custom.min.js
    • jquery.ui.slideraccess.js (version 0.2.1)
    • jquery-ui-timepicker-addon.js (version 1.0.0)
  2. already tried .removeClass(‘hasDatepicker’); since it is appending to the class after initialization of datetimepicker

  3. the line $(‘#dateId’).datetimepicker({ is causing a Uncaught TypeError: Cannot call method ‘dateId’ of null, have to use jQuery instead of $

  4. already tried reverting to jquery-1.7 and updating Trent’s scripts to a later version but still experiencing the same problem.