title: Jquery click event isn't firing anymore
body: <p>I have this really large project so i can't show you all the code.I programmed a couple of jquery.click events on some buttons and that worked perfectly. Now for an unknown reason one of the four jquery.click events doesn't fire anymore. It is the third button that doesn't work anymore the one with the most code in the jquery.click event, the one with id = reservatie_verwijderen</p>
  
  <p>This is the jquery programming code:</p>
  
  <pre><code>$(document).ready(function() {    
  $("#nieuwe_reservatie").click(function(){
      dialog.dialog( "open" );     
  });
  $("#klant_aanmaken").click(function(){
      dialog_klant.dialog("open"); 
  });
  $("#reservatie_verwijderen").click(function(){
      alert("Test");
      var zekerheid = confirm("Ben je zeker dat je deze reservatie wilt verwijderen?");
      if (zekerheid == true) {
          $.ajax({
              url: "server/verwijder_reservatie.php", 
          });
      }
  });
  $("#factuur_afdrukken").click(function() {
      window.open("server/Contract.php");
  });
  });
  </code></pre>
  
  <p>So i put in an alert function to see if the click event works but the alert function doesn't get executed either. The following code is the html code:</p>
  
  <pre><code>&lt;button class="actie_knop" id="nieuwe_reservatie"&gt;Nieuwe Reservatie&lt;/button&gt;
  &lt;button class="actie_knop" id="reservatie_verwijderen"&gt;Reservatie Verwijderen&lt;/button&gt;
  &lt;button class="actie_knop" id="factuur_afdrukken"&gt;Factuur Afdrukken&lt;/button&gt;
  &lt;button class="actie_knop" id="klant_aanmaken"&gt;Klant Aanmaken&lt;/button&gt;
  </code></pre>
  
  <p>And to say it before anyone asks, I deleted all the parts that I added since it didn't work anymore and tested it to see if any of the newly added code was the problem but even then the click event wouldn't fire anymore. So I changed nothing but now after it worked for a week or two it doesn't work anymore.</p>
  
  <p>Thanks in advance </p>