title: bootstrap textbox autocomplete
body: <p>I am using this <a href="https://startbootstrap.com/template-overviews/sb-admin-2/" rel="nofollow noreferrer">Bootstrap</a> as my GUI.</p>
  
  <p>I've seen this <a href="https://stackoverflow.com/questions/28285813/style-jquery-autocomplete-in-a-bootstrap-input-field">LINK</a> related to my problem. But when I try the code from the <code>@KyleMit</code> I have an error in my console. I got this <code>Uncaught TypeError: $(...).autocomplete is not a function</code></p>
  
  <p><a href="https://www.dropbox.com/s/qay9p49r3330cg3/startbootstrap-sb-admin-2-1.0.8.rar?dl=0" rel="nofollow noreferrer">My current Bootstrap</a></p>
  
  <p><strong>Current Code</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(".autocomplete").autocomplete({
              source: "/Controller/Action",
              minLength: 1,
              select: function (event, ui) {
                  if (ui.item) {
                      $(".autocomplete").val(ui.item.value);
                  }
              }
          });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="container"&gt;
  
    &lt;div class="form-group"&gt;
      &lt;label&gt;Languages&lt;/label&gt;
      &lt;input class="form-control autocomplete" placeholder="Enter A" /&gt;
    &lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>