title: Jquery button click event not firing
body: <p>seems like a simple issue but the solutions to the other problem don't seem to work from me.</p>
  
  <p>Trying to trigger a AJAX request from a button click but it doesn't seem to be firing.</p>
  
  <p>example HTML</p>
  
  <pre><code>&lt;button class="remove_weight_button" id="15"&gt;x&lt;/button&gt;
  </code></pre>
  
  <p>javascript</p>
  
  <pre><code>$(".remove_weight_button").click(function(){
      var button_id = $(this).attr("id");
      $.ajax({
          type: "POST",
          url: "weight_tracker_process.php",
          data: {
              weight_id: button_id,
              action: "remove"
          },
          success: function(){
              getWeightData();
          },
          error: function(){
              alert("data removal error");
          }
      });
      return false;
  });
  </code></pre>