{"id":1177,"date":"2009-05-21T19:19:51","date_gmt":"2009-05-21T18:19:51","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=1177"},"modified":"2009-05-21T19:21:45","modified_gmt":"2009-05-21T18:21:45","slug":"jquery-selector-updates","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2009\/05\/21\/jquery-selector-updates\/","title":{"rendered":"jQuery [@attr] selector updates"},"content":{"rendered":"<p>Yes, it is that time of year when you decided it&#8217;s time to update project wide your favorite javascript framework &#8211; <a href=\"http:\/\/jquery.com\">jQuery<\/a>. Many versions have passed since your 1.2.3 version and you became pretty much outdated. You download it, put it where it belongs, cross your fingers, moment of silence&#8230;. bam &#8211; nothing works any more. <\/p>\n<p>If you had similar experience while upgrading from jQuery 1.2.x to <a href=\"http:\/\/docs.jquery.com\/Release:jQuery_1.3.2\">1.3.2<\/a>, don&#8217;t fear. It&#8217;s most likely due to the fact that in jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2 but we just didn&#8217;t care). Just do massive search for &#8220;[@&#8221; in your files, and simply remove the &#8216;@&#8217; symbol from your selectors in order to make them work again. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, it is that time of year when you decided it&#8217;s time to update project wide your favorite javascript framework &#8211; jQuery. Many versions have passed since your 1.2.3 version and you became pretty much outdated. You download it, put it where it belongs, cross your fingers, moment of silence&#8230;. bam &#8211; nothing works any&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1177"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=1177"}],"version-history":[{"count":3,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1177\/revisions"}],"predecessor-version":[{"id":1180,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1177\/revisions\/1180"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=1177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=1177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=1177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}