title: jQuery .click() function only works once with $(window).load()
body: <p>I've been trying to make a list with a delete button to delete an element (using ajax).
  When the element is deleted, I use <code>$("#tableId").load(window.load + " #tableId);</code> to update my table so the deleted element disappears, This works fine the first time, but when I delete an element for the first time and #tableId is loaded, I can't remove more items.</p>
  
  <p>Here is the script:</p>
  
  <pre><code>$(".remove").click(function(){
      $("#message").show();
      $("#message").html("Entro!");
      var id = $(this).attr("value");
      var href = $(this).attr("href");
      var tipo = href.replace(/([^a-zA-Z0-9])+/g, '');
      $.ajax({
          url: 'inc/checkRemoverObjeto.php',
          type: "POST",
          data: 'tipo='+tipo+'&amp;&amp;id='+id,
          success: function(response){
              $("#message").show();
              $("#message").html(response);
  
              $("#tableId").load(window.location + " #tableId");
          }
      });
      return false;
  });
  </code></pre>
  
  <p>I searched but I could'nt find a solution.
  Thank you !</p>