title: Prevent $.ajaxStart() from being executed during jquery-ui autocomplete
body: <p>I'm using jquery-ui autocomplete on a page I'm creating. On the same page I have some ajax events going on. During the other ajax events I'm adding an overlay to my page, so that all the links on the website aren't clickable anymore for the user. I don't want that to happen during the autocomplete.</p>
  
  <p>autocomplete:</p>
  
  <pre><code>$(function() {
      $( "#search_input" ).autocomplete({
      source: '/search_autocomplete/',});
  });
  </code></pre>
  
  <p>ajax:</p>
  
  <pre><code>$.ajax({
      url: "/ajax_login/",
              login_user: $("#login_user").val(),
              password: $("#login_password").val(),
              });
  </code></pre>
  
  <p>ajaxStart:</p>
  
  <pre><code>$("#loading_gif").ajaxStart(function() {
      $("#overlay").show();
      $(this).show();
  });
  </code></pre>
  
  <p>To prevent the ajaxstart function from being executed during the ajax events where it's not necessary. I add</p>
  
  <pre><code>global:false,
  </code></pre>
  
  <p>to the corresponding ajaxfunctions. How can I do something similar during the autocomplete without changing the jquery-ui source?</p>