{"id":2568,"date":"2022-08-30T15:25:57","date_gmt":"2022-08-30T15:25:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/03\/what-does-this-error-mean-on-my-timepicker-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:57","modified_gmt":"2022-08-30T15:25:57","slug":"what-does-this-error-mean-on-my-timepicker-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/what-does-this-error-mean-on-my-timepicker-collection-of-common-programming-errors\/","title":{"rendered":"what does this error mean on my timepicker?-Collection of common programming errors"},"content":{"rendered":"<p>Does any body know what these errors coming from my error console mean while I am using trent richardson&#8217;s timepicker? What do I need to do?<\/p>\n<p>$.timepicker is undefined<\/p>\n<p>this line in the jsfile: <code>$t.datepicker($.timepicker._newInst($t, o)._defaults);<\/code><\/p>\n<p>$.datepicker is undefined<\/p>\n<p>this line in the jsfile: <code>$.datepicker._base_selectDate = $.datepicker._selectDate;<\/code><\/p>\n<p>trent richardson&#8217;s jsfile: http:\/\/trentrichardson.com\/examples\/timepicker\/js\/jquery-ui-timepicker-addon.js<\/p>\n<p>my jsfile has been linked :<\/p>\n<pre><code>\n\n\n\nPrepare Questions and Answers\n\n\n\n\n<\/code><\/pre>\n<p>jquery code:<\/p>\n<pre><code>$(function() {  \n\n$('#answerdurationpicker').timepicker({\n        timeFormat:'hh mm ss',\n        hourGrid: 4,\n        minuteGrid: 10,\n        secondGrid: 10,\n        showOn: 'button',\n        buttonImage: \"Images\/clock.gif\",\n        buttonImageOnly: true\n        });\n\n        });\n<\/code><\/pre>\n<ol>\n<li>\n<p>I think you forgot to include jqueryui, which is a separate library from jquery. You should include it right after base jquery. You&#8217;ll have to download it and modify your code to something like this:<\/p>\n<pre><code>\n\n\n\n\nPrepare Questions and Answers\n\n\n\n\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-02-03 02:34:38. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Does any body know what these errors coming from my error console mean while I am using trent richardson&#8217;s timepicker? What do I need to do? $.timepicker is undefined this line in the jsfile: $t.datepicker($.timepicker._newInst($t, o)._defaults); $.datepicker is undefined this line in the jsfile: $.datepicker._base_selectDate = $.datepicker._selectDate; trent richardson&#8217;s jsfile: http:\/\/trentrichardson.com\/examples\/timepicker\/js\/jquery-ui-timepicker-addon.js my jsfile has been [&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-2568","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2568","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=2568"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2568\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}