using the following code (in drupal)
    ( function ($) {
  Drupal.behaviors.auction_house = {
    attach: function(context,settings) {
      $(document).ready(function(){
        // buy item animation
        $(".buy_item_button").click(function() {
          $(".slide_bags").fadeOut(222).fadeIn(222);
          return false;
        });
        // datagrid
        $('#auction_house_table').dataTable();   
      });
    }
  };
})(jQuery);
if I click, the event is fired, if I click another time, the event is fired 2 times, then 3 times, then 4 times and so on. So let's call this 'being stacked'. Important information: the content containing the link were the onclick function is attached to, is loaded through ajax.
How can this happen and how can I prevent this?