title: WordPress plugin admin ajax not working anymore
body: <p>So I have made a WordPress plugin and in the admin page I use an ajax call. It works fine on all my testsites and servers, but now I testing it on a bigger site with multiple other plugins installed. I don't know why but if I press the button that calls the ajax request, nothing is happening.</p>
  
  <p>Here is the code for my ajax call:</p>
  
  <pre><code>jQuery.ajax({
      url: "../wp-content/plugins/autocommerce/admin/activatePlugin.php?activate=true",
      method: "POST",
      data: { txtAC : txtAC, txtKey: txtKey }
  }).done(function(msg) {
      if(msg == "success") {
          jQuery("#admin_activate").append('&lt;input type="hidden" name="txtActivated" value="true" /&gt;');
          jQuery("#admin_activate").submit();
      } else if(msg == "failed") {
          jQuery("#activateError").html("Gegevens onjuist. Controleer uw gegevens en probeer het opnieuw.");
      } else if(msg == "notSet") {
          jQuery("#activateError").html("Een of meerdere velden zijn onjuist ingevuld.");
      } else {
          alert(msg);
          jQuery("#activateError").html("Er is een fout opgetreden. Probeer het later opnieuw.");
      }
  });
  </code></pre>
  
  <p>There is no error and on the other sites its just working, so I have no idea where to start looking to solve this problem.</p>
  
  <p>I hope anyone could help me out.</p>