{"id":1359,"date":"2022-08-30T15:15:52","date_gmt":"2022-08-30T15:15:52","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/13\/parsley-js-console-errors-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:15:52","modified_gmt":"2022-08-30T15:15:52","slug":"parsley-js-console-errors-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/parsley-js-console-errors-collection-of-common-programming-errors\/","title":{"rendered":"Parsley.js console errors-Collection of common programming errors"},"content":{"rendered":"<p>I thought I followed the doc exactly, but I keep getting errors.<\/p>\n<pre><code>Uncaught TypeError: Cannot read property 'fn' of undefined \n<\/code><\/pre>\n<p>That points to this function in parsely.js<\/p>\n<pre><code> $.fn.parsley = function ( option, fn ) {\n<\/code><\/pre>\n<p>And then when I click the submit button the console shows<\/p>\n<pre><code>Uncaught TypeError: Object [object Object] has no method 'parsley' \n<\/code><\/pre>\n<p>Here is my form<\/p>\n<pre><code>\n    \n        \n        \n        \n    \n    \n\n\n    Full Name * :\n    \n\n    Email * :\n    \n\n    Website :\n    \n\n    Message (20 chars min, 200 max) :\n    \n    \n\n\n    \n\n<\/code><\/pre>\n<p>I don&#8217;t know if it matters, but I&#8217;m running this on xampp in windows as localhost.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-13 09:49:37. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I thought I followed the doc exactly, but I keep getting errors. Uncaught TypeError: Cannot read property &#8216;fn&#8217; of undefined That points to this function in parsely.js $.fn.parsley = function ( option, fn ) { And then when I click the submit button the console shows Uncaught TypeError: Object [object Object] has no method &#8216;parsley&#8217; [&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-1359","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1359","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=1359"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1359\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}