{"id":4520632,"date":"2014-01-19T18:39:20","date_gmt":"2014-01-19T18:39:20","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/not-responding-javascript\/"},"modified":"2016-08-21T14:56:14","modified_gmt":"2016-08-21T14:56:14","slug":"not-responding-javascript","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/not-responding-javascript\/","title":{"rendered":"Not responding javascript"},"content":{"rendered":"<pre><code>&lt;a onclick=&quot;wp_showhide.main(this, &#039;extra&#039;)&quot; href=&quot;javascript:void(0)&quot;&gt;\n[&quot;Show More&quot;, &quot;Hide More&quot;, &quot;hidden&quot;]\n&lt;\/a&gt;\n&lt;div id=&quot;extra&quot;&gt;\n   extra\n&lt;\/div&gt;<\/code><\/pre>\n<p>When I place that code, the entire [&#8220;Show More&#8221;, &#8220;Hide More&#8221;, &#8220;hidden&#8221;] shows up, including the &lt;div&gt; content. Am I missing a step somewhere?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/better-wordpress-showhide-elements\/<\/p>\n","protected":false},"template":"","class_list":["post-4520632","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4520632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4520632\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4520632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}