title: jQuery: How to trigger this line as a function on a button click?
body: <p>I suck at forming the question itself. Any ways, here's what I want to do.</p>
  
  <p>I have this JavaScript at the bottom of my page:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).foundation(); 
      $(document).foundation('abide', 'reflow');
  &lt;/script&gt;
  </code></pre>
  
  <p>It loads Foundation framework, then it reloads abide (I need it to do that). So I have two questions actually... </p>
  
  <p>(1) Is it loading foundation twice as well as reloading abide, or is it just loading foundation once and then reloading abide? I'm asking if it's pointless having both lines or if I should just have the second line.</p>
  
  <p>(2) Okay, the real question... How do I call <code>$(document).foundation('abide', 'reflow');</code> when I click a link? I need this to perform the way it does right now, as well as on certain button clicks.</p>
  
  <p>If anyone is interested in knowing the actual problem: I'm using foundation (obviously), and they have a tabs function, so on one of my pages I have a series of forms in different tabs, now this abide validation function only loads on page load and although it attaches itself to all the forms... it doesn't work "live" as it does on the first form that appears on page load. So I want to trigger the event when clicking on each tab link - I figure that should do it.</p>
  
  <p>I'm sure there are other questions like this one, I'm just not sure what to ask for those to pop up. Any suggestions?</p>