{"id":7395,"date":"2014-06-12T03:10:13","date_gmt":"2014-06-12T03:10:13","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/can-someone-help-me-find-why-im-getting-an-unexpected-expecting-closed-collection-of-common-programming-errors\/"},"modified":"2014-06-12T03:10:13","modified_gmt":"2014-06-12T03:10:13","slug":"can-someone-help-me-find-why-im-getting-an-unexpected-expecting-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/can-someone-help-me-find-why-im-getting-an-unexpected-expecting-closed-collection-of-common-programming-errors\/","title":{"rendered":"Can someone help me find why I&#39;m getting an unexpected , expecting ;? [closed]-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m not sure why I&#8217;m getting this error, as I can&#8217;t see anything wrong with my eyes.<\/p>\n<p>In NetBeans on Line 9 I&#8217;m getting &#8220;Expected , but found ;&#8221;<\/p>\n<pre><code>jQuery(document).ready(function($){\n    $(\".scroll\").click(function(event){event.preventDefault();\n        $('html,body').animate({scrollTop:$(this.hash).offset().top},500);\n    });\n    $(\"#accordion\".accordion({\n        collapsible:true,\n        active:false,\n        heightStyle:\"content\"\n    });\n    $(\"#menu-mobile img\").click(function(){\n        $('nav ul.menu').toggleClass(\"show\");\n    });\n    $(\"#signup\").click(function(){\n        $(\".members-form-wrapper#new-user\").slideDown(\"slow\");\n    });\n    $('#postcode').on('change',function(event){if(inputHasContent($(this))){\n            $('.details').show();\n        }else{\n            $('.details').hide();\n        }\n    });\n});\n<\/code><\/pre>\n<p>I&#8217;m trying desperately to minify the load time on my wordpress install and encountering errors when i try to improve.<\/p>\n<p>Something just tells me, that this is something really simple&#8230; but I just can&#8217;t see it. Any help appreciated!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m not sure why I&#8217;m getting this error, as I can&#8217;t see anything wrong with my eyes. In NetBeans on Line 9 I&#8217;m getting &#8220;Expected , but found ;&#8221; jQuery(document).ready(function($){ $(&#8220;.scroll&#8221;).click(function(event){event.preventDefault(); $(&#8216;html,body&#8217;).animate({scrollTop:$(this.hash).offset().top},500); }); $(&#8220;#accordion&#8221;.accordion({ collapsible:true, active:false, heightStyle:&#8221;content&#8221; }); $(&#8220;#menu-mobile img&#8221;).click(function(){ $(&#8216;nav ul.menu&#8217;).toggleClass(&#8220;show&#8221;); }); $(&#8220;#signup&#8221;).click(function(){ $(&#8220;.members-form-wrapper#new-user&#8221;).slideDown(&#8220;slow&#8221;); }); $(&#8216;#postcode&#8217;).on(&#8216;change&#8217;,function(event){if(inputHasContent($(this))){ $(&#8216;.details&#8217;).show(); }else{ $(&#8216;.details&#8217;).hide(); } }); }); I&#8217;m trying [&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-7395","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7395","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=7395"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7395\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}