title: Foundation 5 - Dropdown button opening but not closing
body: <p>I'm using Foundation 5 on a static website. I used the index page provided with Foundation as my starting point, which pulls in jQuery and all of the Foundation JS just before the closing body tag. I haven't modified or added any Javascript myself.</p>
  
  <p>My dropdown button opens up correctly, but it doesn't close if it is clicked (or tapped) a second time.  It only closes if I click (or tap) outside of the menu button, or if I click a link from the menu.  The behavior is the same across browsers on my laptop, iPhone, and Android tablet.  </p>
  
  <p>When I visit <a href="http://foundation.zurb.com/docs/components/dropdown_buttons.html" rel="nofollow"> Foundation's documentation, </a> the sample buttons toggle as expected.  I tried copying and pasting their sample code into my web page, but it doesn't toggle then.</p>
  
  <p>I tried asking on Foundation's forum, but the one answer I received wasn't helpful. My code and a screenshot are still <a href="http://foundation.zurb.com/forum/posts/2032-dropdown-button-not-toggling" rel="nofollow"> there, </a> though.  There's also a newer post from someone else who seems to be having the same problem.</p>
  
  <p>I saw a couple of articles that advised adding this before the closing body tag to initialize the Foundation JS:</p>
  
  <pre><code>&lt;script&gt;
    $(document).foundation();
  &lt;/script&gt;
  </code></pre>
  
  <p>I gave it a shot, but it didn't change the behavior.</p>