{"id":155,"date":"2012-01-19T21:58:50","date_gmt":"2012-01-20T05:58:50","guid":{"rendered":"http:\/\/shanelabs.com\/blog\/?p=155"},"modified":"2012-01-19T21:58:50","modified_gmt":"2012-01-20T05:58:50","slug":"uncaught-typeerror-cannot-set-property-touchstart-of-undefined-for-jquery-ui-datepicker","status":"publish","type":"post","link":"https:\/\/shanelabs.com\/blog\/2012\/01\/19\/uncaught-typeerror-cannot-set-property-touchstart-of-undefined-for-jquery-ui-datepicker\/","title":{"rendered":"Uncaught TypeError: Cannot set property &#8216;touchstart&#8217; of undefined for JQuery UI DatePicker"},"content":{"rendered":"<p>I kept getting this error when trying to integrate the JQuery UI DatePicker (<a href=\"http:\/\/jquerymobile.com\/demos\/1.0a4.1\/experiments\/ui-datepicker\/\" target=\"_blank\">http:\/\/jquerymobile.com\/demos\/<wbr>1.0a4.1\/experiments\/ui-<wbr>datepicker\/<\/wbr><\/wbr><\/a>)\u00a0into one of my pages:<\/p>\n<blockquote><p>Uncaught TypeError: Cannot set property &#8216;touchstart&#8217; of undefined<\/p><\/blockquote>\n<p>Finally realized that I was using a very old version of JQuery. Once I upgraded to the latest version it started working. Hope that helps you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I kept getting this error when trying to integrate the JQuery UI DatePicker (http:\/\/jquerymobile.com\/demos\/1.0a4.1\/experiments\/ui-datepicker\/)\u00a0into one of my pages: Uncaught TypeError: Cannot set property &#8216;touchstart&#8217; of undefined Finally realized that I was using a very old version of JQuery. Once I upgraded to the latest version it started working. Hope that helps you!<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-software","category-web"],"_links":{"self":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":2,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}