Tagged: x Author Posts January 18, 2017 at 12:56 am #1334622 kendrickaParticipant Hi there, I am using Edit Global Javascript to execute a couple of scripts, to expand and collapse some Archive widgets. Everything works well when I use an element selector, eg jQuery(function($){ $(‘#nav_menu-8.widget_nav_menu h4’).click(function(){ //$(‘.widget_nav_menu div’).toggleClass(‘show’); $(‘#nav_menu-8.widget_nav_menu div’).toggleClass(‘show’); }); }); January 18, 2017 at 1:58 am #1334670 Paul RModerator Please refer to your other topic. https://community.theme.co/forums/topic/using-jquery-this-breaks-my-site-2/ Thanks Author Posts <script> jQuery(function($){ $("#no-reply-1334622 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script> Log In Username: Password: Keep me signed in Log In