{"id":1360,"date":"2022-08-30T15:15:53","date_gmt":"2022-08-30T15:15:53","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/13\/jquery-prettyphoto-in-bootstrap-isnt-working-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:15:53","modified_gmt":"2022-08-30T15:15:53","slug":"jquery-prettyphoto-in-bootstrap-isnt-working-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/jquery-prettyphoto-in-bootstrap-isnt-working-collection-of-common-programming-errors\/","title":{"rendered":"jQuery: PrettyPhoto in Bootstrap isn&#39;t working-Collection of common programming errors"},"content":{"rendered":"<p>i hope someone of you can help me, i cant get the PrettyPhoto script works in my page, here is my code.<\/p>\n<pre><code>\n\n\n  \n   \n   \n   \n   \n   \n   \n   \n   \n   \n   \n   \n    \n   \n   \n   \n<\/code><\/pre>\n<p>Then my html<\/p>\n<pre><code><img decoding=\"async\" src=\"images\/youtube.png\" alt=\"YouTube\" \/>\n<\/code><\/pre>\n<p>And for last above the end of the &lt; \/body&gt;<\/p>\n<pre><code>       \n\n        \n$(document).ready(function(){\n  $(\"a[rel^='prettyPhoto']\").prettyPhoto();\n});\n\n<\/code><\/pre>\n<p>Also in console i get this error.<\/p>\n<p><strong>Uncaught TypeError: Property &#8216;$&#8217; of object [object Object] is not a function index3.html:318 (anonymous function)<\/strong><\/p>\n<p>But doesnt works, thx for your time xD<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-13 09:49:42. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>i hope someone of you can help me, i cant get the PrettyPhoto script works in my page, here is my code. Then my html And for last above the end of the &lt; \/body&gt; $(document).ready(function(){ $(&#8220;a[rel^=&#8217;prettyPhoto&#8217;]&#8221;).prettyPhoto(); }); Also in console i get this error. Uncaught TypeError: Property &#8216;$&#8217; of object [object Object] is not [&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-1360","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1360","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=1360"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1360\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}