title: One button is assigned two functions in jQuery, calls both. How can I make it call one of them?
body: <p>I have two buttons that have assigned two functions, one by a broad selection:</p>
  
  <pre><code>$(".buy_button a").click(function() {
  </code></pre>
  
  <p>and one with a more specific selection:</p>
  
  <pre><code>$(".under_form_xml .buy_button a").click(function(){
  </code></pre>
  
  <p>The end result is that the last button executes both functions... I thought I overwrote the functions by being more specific, like css.</p>
  
  <p>is there any way I can "clear" the specific selection of previous attached functions?</p>
  
  <p>I solved this by renaming the second class, but I'm curious if there is any way this can be solved with the existing names?</p>