title: How to hide elements on one page with button on a different page, using jquery
body: <p>I have a page with list items (links) that I need to be able to <code>hide/show</code> from my admin page. </p>
  
  <p>How do I get it to work that if i press a button in my admin page, it hides list items that are on a different page?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $("button").click(function(){
         $("a").css("display","none");
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>The above code works to hide elements that are on the  same page only.</p>