title: How to hide div after clicking on button?
body: <p>I would like to hide the div (which is "hide-div") as soon as the user cliks on the button when there is a navigation to the same page. Please help me on this. Thanks </p>
  
  <pre><code>&lt;div id="hide-div"&gt;
     &lt;button type="button" title="test" class="button btn-small" onclick="setLocation('abc.com');"&gt;&lt;span&gt;'Add to Cart'&lt;/span&gt;&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>