jquery 3.1.0 and jquery-ui autocomplete are not compatible, what's the workaround?
<p>I am having trouble getting jQuery 3.1.0 to work with jQuery UI's autocomplete feature. </p>

<p>The only workaround I know is by replacing jQuery 3.1.0 with the one that is prepackaged with the jQUERY UI installer. Unfortunately, this wouldn't work for me as the version in the installer package of jQuery UI doesn't allow me to use tags-input and other modern features that I require for my website.</p>

<pre><code>&lt;input type="email" id="tags" class="form-control" placeholder="Any Criteria" data-role="tagsinput"&gt;

&lt;script type="text/javascript" src="external/jquery/js/jquery-3.1.0.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="external/jquery-ui/js/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      $( function() {
        var availableTags = [
          "ActionScript",
          "AppleScript",
          "Asp",
          "BASIC",
          "C",
          "C++",
          "Clojure",
          "COBOL",
          "ColdFusion",
          "Erlang",
          "Fortran",
          "Groovy",
          "Haskell",
          "Java",
          "JavaScript",
          "Lisp",
          "Perl",
          "PHP",
          "Python",
          "Ruby",
          "Scala",
          "Scheme"
        ];
        $( "#tags" ).autocomplete({
          source: availableTags
        });
      } );
</code></pre>

<p></p>