{"id":2557,"date":"2022-08-30T15:25:51","date_gmt":"2022-08-30T15:25:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/03\/trent-richardsons-datetimepicker-not-showing-time-picker-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:51","modified_gmt":"2022-08-30T15:25:51","slug":"trent-richardsons-datetimepicker-not-showing-time-picker-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/trent-richardsons-datetimepicker-not-showing-time-picker-collection-of-common-programming-errors\/","title":{"rendered":"Trent Richardson&#39;s Datetimepicker not showing Time Picker-Collection of common programming errors"},"content":{"rendered":"<p>Trent Richardson&#8217;s Datetimepicker is not showing the time picker (only jQuery&#8217;s date picker). Tested it 2 months ago and it is working properly. Just upgraded the JS last month.<\/p>\n<ol>\n<li>\n<p>This is the current js imports:<\/p>\n<ul>\n<li>jquery-1.8.2.min.js<\/li>\n<li>jquery-ui-1.8.24.custom.min.js<\/li>\n<li>jquery.ui.slideraccess.js (version 0.2.1)<\/li>\n<li>jquery-ui-timepicker-addon.js (version 1.0.0)<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>already tried .removeClass(&#8216;hasDatepicker&#8217;); since it is appending to the class after initialization of datetimepicker<\/p>\n<\/li>\n<li>\n<p>the line $(&#8216;#dateId&#8217;).datetimepicker({ is causing a Uncaught TypeError: Cannot call method &#8216;dateId&#8217; of null, have to use jQuery instead of $<\/p>\n<\/li>\n<li>\n<p>already tried reverting to jquery-1.7 and updating Trent&#8217;s scripts to a later version but still experiencing the same problem.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-02-03 02:27:55. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Trent Richardson&#8217;s Datetimepicker is not showing the time picker (only jQuery&#8217;s date picker). Tested it 2 months ago and it is working properly. Just upgraded the JS last month. 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) already tried .removeClass(&#8216;hasDatepicker&#8217;); since it is appending to the class after initialization [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2557","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2557"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2557\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}