title: Uncaught TypeError: $(...).autocomplete is not a function
body: <p>I'm trying to implement a JQuery autocomplete text box. I couldn't get my custom one to work, so I'm trying to implement the stock text box instead to begin with so I can fix this error. I'm not sure where this is coming from considering that I have included all of the files which the page(<a href="https://jqueryui.com/autocomplete/#default" rel="nofollow">https://jqueryui.com/autocomplete/#default</a>) has suggested. Except the demo css file, but this doesn't matter as the css shouldn't intefere with the functionality of the text box.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>&lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link href="~/Content/ClientDash.css" rel="stylesheet" /&gt;
      &lt;link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"&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
              });
          });
      &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;div class="ui-widget"&gt;
              &lt;label for="tags"&gt;Tags: &lt;/label&gt;
              &lt;input id="tags"&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Layout:</p>
  
  <pre><code>&lt;head&gt;
  &lt;script src="~/Scripts/jquery-2.1.4.min.js"&gt;&lt;/script&gt;
      &lt;script src="~/Scripts/jquery-ui-1.11.4.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>