title: Closest Selector jQuery
body: <p>I'm trying to select a value with jquery closest but I'm a newbie and my attempts haven't been successful.</p>
  
  <p>Can anyone tell me what I'm doing wrong ? Any help appreciated!</p>
  
  <pre><code>&lt;div class="two columns"&gt;                              
   &lt;form class="float-right"&gt;  
      &lt;input type="hidden" id="show_id" value="329"&gt;
      &lt;input type="hidden" id="user_id" value="172"&gt;
      &lt;div id="follow-button" class="button small follow-call follow-show float-right"&gt;Follow&lt;/div&gt; 
    &lt;/form&gt;
  &lt;/div&gt;
  &lt;div class="two columns"&gt;                          
   &lt;form class="float-right"&gt;  
      &lt;input type="hidden" id="show_id" value="389"&gt;
      &lt;input type="hidden" id="user_id" value="172"&gt;
      &lt;div id="follow-button" class="button small follow-call follow-show float-right"&gt;Follow&lt;/div&gt; 
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code> $('.follow-show').bind('click', function() {
          var button = $(this);
          var show_id = button.closest("#show_id").val();
          var user_id = button.closest("#user_id").val();
   });
  </code></pre>